Class UserProfileImageURNProvider

    • Constructor Detail

      • UserProfileImageURNProvider

        public UserProfileImageURNProvider()
    • Method Detail

      • getInstance

        public static UserProfileImageURNProvider getInstance()
        Gets the singleton instance.
        The IURNUserProfileProvider instance.
      • getProfileImage

        public RuntimeImageDefinition getProfileImage​(IUserProfileImageRequest request)
        Gets the profile image for the user for the specified request. The image is created and cached in the requested size if not available.
        Specified by:
        getProfileImage in interface IUserProfileImageURNProvider
        request - The request.
        The image definition, or null if a profile image is not available.
        Throws: - For file I/O errors.
        java.lang.IllegalStateException - If the request state is not valid, e.g. required settings are not specified.