Interface ProtocolMappersResource
-
public interface ProtocolMappersResource- Author:
- Marek Posolda
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateMapper(List<ProtocolMapperRepresentation> reps)javax.ws.rs.core.ResponsecreateMapper(ProtocolMapperRepresentation rep)voiddelete(String id)ProtocolMapperRepresentationgetMapperById(String id)List<ProtocolMapperRepresentation>getMappers()List<ProtocolMapperRepresentation>getMappersPerProtocol(String protocol)voidupdate(String id, ProtocolMapperRepresentation rep)
-
-
-
Method Detail
-
getMappersPerProtocol
@GET @Path("protocol/{protocol}") @Produces("application/json") List<ProtocolMapperRepresentation> getMappersPerProtocol(@PathParam("protocol") String protocol)
-
createMapper
@Path("models") @POST @Consumes("application/json") javax.ws.rs.core.Response createMapper(ProtocolMapperRepresentation rep)
-
createMapper
@Path("add-models") @POST @Consumes("application/json") void createMapper(List<ProtocolMapperRepresentation> reps)
-
getMappers
@GET @Path("models") @Produces("application/json") List<ProtocolMapperRepresentation> 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
@DELETE @Path("models/{id}") void delete(@PathParam("id") String id)
-
-