Interface ConfParamService
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ConfParamServiceImpl
@Path("conf") public interface ConfParamService extends Serializable
REST operations for Self Keymaster's conf params.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
get(@NotNull String key)
Map<String,Object>
list()
javax.ws.rs.core.Response
remove(@NotNull String key)
javax.ws.rs.core.Response
set(@NotNull String key, InputStream value)
-
-
-
Method Detail
-
get
@GET @Path("{key}") @Produces("application/json") javax.ws.rs.core.Response get(@NotNull @PathParam("key") @NotNull String key)
-
set
@POST @Path("{key}") @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response set(@NotNull @PathParam("key") @NotNull String key, InputStream value)
-
remove
@DELETE @Path("{key}") @Produces("application/json") javax.ws.rs.core.Response remove(@NotNull @PathParam("key") @NotNull String key)
-
-