/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.pwr.nlprestservice;

import java.util.Set;
import javax.ws.rs.core.Application;

/**
 *
 * @author www_zsk
 */
@javax.ws.rs.ApplicationPath("")
public class ApplicationConfig extends Application {

    
    
    @Override
    public Set<Class<?>> getClasses() {
        Set<Class<?>> resources = new java.util.HashSet<>();
        addRestResourceClasses(resources);
        resources.add(org.glassfish.jersey.media.multipart.MultiPartFeature.class);
       resources.add(com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider.class);
        //resources.add(org.)
        return resources;
    }

    /**
     * Do not modify addRestResourceClasses() method.
     * It is automatically populated with
     * all resources defined in the project.
     * If required, comment out calling this method in getClasses().
     */
    private void addRestResourceClasses(Set<Class<?>> resources) {
        resources.add(pl.edu.pwr.nlprestservice.BaseResource.class);
        resources.add(pl.edu.pwr.nlprestservice.Synchro.class);
        resources.add(pl.edu.pwr.nlprestservice.TestResource.class);
        resources.add(pl.edu.pwr.nlprestservice.Util.class);
    }
    
}
