Package com.iizix.urn.user
Interface IUserProfileImageURNProvider
- All Known Implementing Classes:
- UserProfileImageURNProvider
public interface IUserProfileImageURNProvider
The URN provider for user profiles.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescriptionCreates an uninitialized profile image request.- getProfileImage- (IUserProfileImageRequest request) Gets the profile image for the user for the specified request.
- Method Details- createRequestIUserProfileImageRequest createRequest()Creates an uninitialized profile image request.- Returns:
- The uninitialized request.
 
- getProfileImageGets the profile image for the user for the specified request. The image is created and cached in the requested size if not available.- Parameters:
- request- The request.
- Returns:
- The image definition, or nullif a profile image is not available.
- Throws:
- IOException- For file I/O errors.
- IllegalStateException- If the request state is not valid, e.g. required settings are not specified.