Interface AvatarReference
- All Known Implementing Classes:
AvatarReference.BlobAvatar
,AvatarReference.UriAvatarReference
public interface AvatarReference
A directory may represent avatars as references to URLs or as binary blobs. This interface
unifies those two possibilities behind a single marker interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An image represented as a blob of bytes along with a content type.static class
A reference to an avatar available through a user's browser. -
Method Summary
-
Method Details
-
toUri
URI toUri()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.
-