소스 검색

correction configuration services

Daniel Le Berre 5 년 전
부모
커밋
8dae8cdc4f
2개의 변경된 파일1개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 1
      src/rest/RestApplication.java
  2. 0 7
      src/rest/RestService.java

+ 1 - 1
src/rest/RestApplication.java

@@ -4,7 +4,7 @@ import javax.ws.rs.ApplicationPath;
 
 import org.glassfish.jersey.server.ResourceConfig;
 
-@ApplicationPath("/")
+@ApplicationPath("/api")
 public class RestApplication extends ResourceConfig {               
 
     public RestApplication() {

+ 0 - 7
src/rest/RestService.java

@@ -35,11 +35,4 @@ public class RestService {
 		LOGGER.info("profil " +id);
 		return "Profil";
 	}
-	
-	@Path("")
-	@GET
-	public String itWorks() {
-		return "It works!";
-	}
-
 }