Class UserInternalResource


  • @Path("/lum-internal/users")
    public class UserInternalResource
    extends java.lang.Object
    Rest Application for Users
    Since:
    8.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getProfileImage​(@NotNull java.lang.String userId)
      Get the profile image file of the specified user based on his identifier or sends redirect to default image of no profile image is set.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserInternalResource

        public UserInternalResource()
    • Method Detail

      • getProfileImage

        @Path("/{id:(([A-F0-9]{32})|default|current)}/profileimage")
        @GET
        public javax.ws.rs.core.Response getProfileImage​(@NotNull @PathParam("id")
                                                         @NotNull java.lang.String userId)
        Get the profile image file of the specified user based on his identifier or sends redirect to default image of no profile image is set.
        Parameters:
        userId - the user identifier may be default, current or user identifier.
        Returns:
        Response a response answering to use a cached image or with the profile image.