public static class AvatarReference.BlobAvatar extends Object implements AvatarReference
AvatarReference.BlobAvatar, AvatarReference.UriAvatarReference
Constructor and Description |
---|
BlobAvatar(String contentType,
byte[] content) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent() |
String |
getContentType() |
URI |
toUri()
Return a URI, which may be a large
data: URI, that points to this avatar. |
public BlobAvatar(String contentType, byte[] content)
public String getContentType()
public byte[] getContent()
public URI toUri()
AvatarReference
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.toUri
in interface AvatarReference
Copyright © 2020 Atlassian. All rights reserved.