Interface UserResource
- All Known Implementing Classes:
UserResourceImpl
public interface UserResource
- Author:
- Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptionavailableOperations
(jakarta.ws.rs.core.UriInfo context) void
getUserProfile
(jakarta.ws.rs.core.UriInfo context) void
void
updateCredentials
(UserCredentialsDto account) void
updateProfile
(UserProfileDto profile)
-
Method Details
-
deleteUser
@DELETE @Produces("application/json") void deleteUser() -
unlockUser
@POST @Path("/unlock") void unlockUser() -
getUserProfile
@GET @Path("/profile") @Produces("application/json") UserProfileDto getUserProfile(@Context jakarta.ws.rs.core.UriInfo context) -
updateProfile
-
updateCredentials
@PUT @Path("/credentials") @Consumes("application/json") void updateCredentials(UserCredentialsDto account) -
availableOperations
@OPTIONS @Produces("application/json") ResourceOptionsDto availableOperations(@Context jakarta.ws.rs.core.UriInfo context)
-