Class AvatarReference.BlobAvatar
java.lang.Object
com.atlassian.crowd.manager.avatar.AvatarReference.BlobAvatar
- All Implemented Interfaces:
AvatarReference
- Enclosing interface:
AvatarReference
An image represented as a blob of bytes along with a content type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.crowd.manager.avatar.AvatarReference
AvatarReference.BlobAvatar, AvatarReference.UriAvatarReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
toUri()
Return a URI, which may be a largedata:
URI, that points to this avatar.
-
Constructor Details
-
BlobAvatar
-
-
Method Details
-
getContentType
-
getContent
public byte[] getContent() -
toUri
Description copied from interface:AvatarReference
Return a URI, which may be a largedata:
URI, that points to this avatar. This is not suitable for redirecting to with a Location header, but is suitable for embedding directly in an HTML page.- Specified by:
toUri
in interfaceAvatarReference
-