Interface DomainService
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DomainServiceImpl
@Path("domains") public interface DomainService extends Serializable
REST operations for Self Keymaster's domains.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
adjustPoolSize(@NotNull String key, int poolMaxActive, int poolMinIdle)
javax.ws.rs.core.Response
changeAdminPassword(@NotNull String key, String password, CipherAlgorithm cipherAlgorithm)
javax.ws.rs.core.Response
create(Domain domain)
javax.ws.rs.core.Response
delete(@NotNull String key)
List<Domain>
list()
Domain
read(@NotNull String key)
-
-
-
Method Detail
-
read
@GET @Path("{key}") @Produces("application/json") Domain read(@NotNull @PathParam("key") @NotNull String key)
-
create
@POST @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response create(Domain domain)
-
changeAdminPassword
@POST @Path("{key}/changeAdminPassword") @Produces("application/json") javax.ws.rs.core.Response changeAdminPassword(@NotNull @PathParam("key") @NotNull String key, @QueryParam("password") String password, @QueryParam("cipherAlgorithm") CipherAlgorithm cipherAlgorithm)
-
adjustPoolSize
@POST @Path("{key}/adjustPoolSize") @Produces("application/json") javax.ws.rs.core.Response adjustPoolSize(@NotNull @PathParam("key") @NotNull String key, @QueryParam("poolMaxActive") int poolMaxActive, @QueryParam("poolMinIdle") int poolMinIdle)
-
delete
@DELETE @Path("{key}") @Produces("application/json") javax.ws.rs.core.Response delete(@NotNull @PathParam("key") @NotNull String key)
-
-