All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.aequologica.neo.serioulizer.jaxrs.service.Application Maven / Gradle / Ivy

The newest version!
package net.aequologica.neo.serioulizer.jaxrs.service;

import javax.ws.rs.ApplicationPath;

import org.glassfish.jersey.logging.LoggingFeature;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;

import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;

@ApplicationPath("api/serioulizer")
public class Application extends ResourceConfig {

    public Application() {

        register(LoggingFeature.class);
        register(JacksonJsonProvider.class);
        register(MultiPartFeature.class);
        
        register(Resource.class);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy