Submission exercise-epita-ing-assistants-yaka-jws-2028-guillem.george-522732c

This commit is contained in:
Guillem George 2026-02-12 16:53:12 +01:00
parent 522732ceee
commit 20ab7bc8b2
6 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,5 @@
package fr.epita.assistants.presentation.rest;
public class Endpoints {
}

View file

@ -0,0 +1,5 @@
package fr.epita.assistants.presentation.rest.request;
public class ReverseRequest {
}

View file

@ -0,0 +1,20 @@
package fr.epita.assistants.presentation.rest.response;
import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
@Path("/hello")
@Consumes(MediaType.TEXT_PLAIN)
@Produces(MediaType.TEXT_PLAIN)
public class HelloResponse {
@Path("/{name}")
@GET
public String greeting(@PathParam("name") String name) {
String content
Response.accepted();
}
}

View file

@ -0,0 +1,5 @@
package fr.epita.assistants.presentation.rest.response;
public class ReverseResponse {
}