public interface UserResource
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
void |
deleteUser() |
UserProfileDto |
getUserProfile(javax.ws.rs.core.UriInfo context) |
void |
unlockUser() |
void |
updateCredentials(UserCredentialsDto account) |
void |
updateProfile(UserProfileDto profile) |
@DELETE @Produces(value="application/json") void deleteUser()
@POST @Path(value="/unlock") void unlockUser()
@GET @Path(value="/profile") @Produces(value="application/json") UserProfileDto getUserProfile(@Context javax.ws.rs.core.UriInfo context)
@PUT @Path(value="/profile") @Consumes(value="application/json") void updateProfile(UserProfileDto profile)
@PUT @Path(value="/credentials") @Consumes(value="application/json") void updateCredentials(UserCredentialsDto account)
@OPTIONS @Produces(value="application/json") ResourceOptionsDto availableOperations(@Context javax.ws.rs.core.UriInfo context)
Copyright © 2019. All rights reserved.