Interface ProtocolMappersResource
public interface ProtocolMappersResource
- Author:
- Marek Posolda
-
Method Summary
Modifier and TypeMethodDescriptionvoid
jakarta.ws.rs.core.Response
void
getMapperById
(String id) getMappersPerProtocol
(String protocol) void
update
(String id, ProtocolMapperRepresentation rep)
-
Method Details
-
getMappersPerProtocol
@GET @Path("protocol/{protocol}") @Produces("application/json") List<ProtocolMapperRepresentation> getMappersPerProtocol(@PathParam("protocol") String protocol) -
createMapper
@Path("models") @POST @Consumes("application/json") jakarta.ws.rs.core.Response createMapper(ProtocolMapperRepresentation rep) -
createMapper
@Path("add-models") @POST @Consumes("application/json") void createMapper(List<ProtocolMapperRepresentation> reps) -
getMappers
-
getMapperById
@GET @Path("models/{id}") @Produces("application/json") ProtocolMapperRepresentation getMapperById(@PathParam("id") String id) -
update
@PUT @Path("models/{id}") @Consumes("application/json") void update(@PathParam("id") String id, ProtocolMapperRepresentation rep) -
delete
-