Class UserPictureResource
java.lang.Object
org.flowable.rest.service.api.identity.BaseUserResource
org.flowable.rest.service.api.identity.UserPictureResource
- Author:
- Frederik Heremans
-
Field Summary
Fields inherited from class org.flowable.rest.service.api.identity.BaseUserResource
identityService, restApiInterceptor, restResponseFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResponseEntity<byte[]>
getUserPicture
(String userId) void
updateUserPicture
(String userId, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.flowable.rest.service.api.identity.BaseUserResource
getUserFromRequest
-
Constructor Details
-
UserPictureResource
public UserPictureResource()
-
-
Method Details
-
getUserPicture
@GetMapping("/identity/users/{userId}/picture") public ResponseEntity<byte[]> getUserPicture(@PathVariable String userId) -
updateUserPicture
@PutMapping(value="/identity/users/{userId}/picture", consumes="multipart/form-data") @ResponseStatus(NO_CONTENT) public void updateUserPicture(@PathVariable String userId, jakarta.servlet.http.HttpServletRequest request)
-