package com.epita.mti.datemine;

import com.epita.mti.datemine.api.service.AbstractRESTService;
import com.epita.mti.datemine.api.service.UserRESTService;
import com.epita.mti.datemine.tools.ResponseCorsFilter;
import java.util.HashSet;
import java.util.Set;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

/**
 *
 * @author leduc_t
 */
@ApplicationPath("/api")
public class API extends Application {

    @Override
    public Set<Class<?>> getClasses() {
        return getRestResourceClasses();
    }

    /**
     * Get the Rest resource classes.
     * @return the rest resource classes
     */
    private Set<Class<?>> getRestResourceClasses() {
        Set<Class<?>> resources = new HashSet<Class<?>>();
        resources.add(AbstractRESTService.class);
        resources.add(UserRESTService.class);
        resources.add(ResponseCorsFilter.class);
        return resources;
    }
}

@@ -709,16 +709,26 @@
 s = new 
+java.util.
 HashSet%3C
@@ -762,16 +762,51 @@
 ces.add(
+com.epita.mti.datemine.api.service.
 Abstract
@@ -847,16 +847,128 @@
 ces.add(
+com.epita.mti.datemine.api.service.AuthService.class);%0A        resources.add(com.epita.mti.datemine.api.service.
 UserREST
@@ -1005,16 +1005,45 @@
 ces.add(
+com.epita.mti.datemine.tools.
 Response

change on API