Class AvatarReference.BlobAvatar

java.lang.Object
com.atlassian.crowd.manager.avatar.AvatarReference.BlobAvatar
All Implemented Interfaces:
AvatarReference
Enclosing interface:
AvatarReference

public static class AvatarReference.BlobAvatar extends Object implements AvatarReference
An image represented as a blob of bytes along with a content type.
  • Constructor Details

    • BlobAvatar

      public BlobAvatar(String contentType, byte[] content)
  • Method Details

    • getContentType

      public String getContentType()
    • getContent

      public byte[] getContent()
    • toUri

      public URI toUri()
      Description copied from interface: AvatarReference
      Return a URI, which may be a large data: 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 interface AvatarReference