Modifier and Type | Method and Description |
---|---|
AbstractStreamResource |
CollaborationAvatarGroup.ImageProvider.getImageResource(UserInfo user)
Gets a stream resource that provides the avatar image for the given
user.
|
Modifier and Type | Method and Description |
---|---|
AbstractStreamResource |
AvatarGroup.AvatarGroupItem.getImageResource()
Gets the image that was set for the avatar.
|
AbstractStreamResource |
Avatar.getImageResource()
Gets the image that was set for the avatar.
|
Modifier and Type | Method and Description |
---|---|
void |
AvatarGroup.AvatarGroupItem.setImageResource(AbstractStreamResource resource)
Sets the image for the avatar.
|
void |
Avatar.setImageResource(AbstractStreamResource resource)
Sets the image for the avatar.
|
Modifier and Type | Method and Description |
---|---|
void |
Anchor.setHref(AbstractStreamResource href)
Sets the URL that this anchor links to with the URL of the given
StreamResource . |
void |
Image.setSrc(AbstractStreamResource src)
Sets the image URL with the URL of the given
StreamResource . |
Constructor and Description |
---|
Anchor(AbstractStreamResource href,
String text)
Creates an anchor component with the given text content and stream
resource.
|
Image(AbstractStreamResource src,
String alt)
Creates an image with the given stream resource and an alternative text.
|
Modifier and Type | Method and Description |
---|---|
AbstractStreamResource |
MessageListItem.getUserImageResource()
Gets the image resource of the message sender's avatar.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageListItem.setUserImageResource(AbstractStreamResource resource)
Sets the image for the message sender's avatar.
|
Modifier and Type | Method and Description |
---|---|
void |
ElementStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource resource)
Sets the given attribute to the given
StreamResource value. |
Element |
Element.setAttribute(String attribute,
AbstractStreamResource resource)
Sets the given attribute to the given
StreamResource value. |
Modifier and Type | Method and Description |
---|---|
void |
ShadowRootStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource resource) |
void |
BasicElementStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource receiver) |
void |
AbstractTextElementStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource resource) |
Modifier and Type | Method and Description |
---|---|
void |
ElementAttributeMap.setResource(String attribute,
AbstractStreamResource resource)
Sets the given attribute to the given
StreamResource value. |
Modifier and Type | Class and Description |
---|---|
class |
StreamReceiver
Represents a receiver for data upload from the client.
|
class |
StreamResource
Represents dynamically generated data.
|
Modifier and Type | Method and Description |
---|---|
<T extends AbstractStreamResource> |
StreamResourceRegistry.getResource(Class<T> type,
URI uri)
Get a registered resource of given type.
|
Modifier and Type | Method and Description |
---|---|
AbstractStreamResource |
StreamRegistration.getResource()
Get the stream resource whose registration result is represented by this
StreamRegistration instance. |
AbstractStreamResource |
AbstractStreamResource.setCacheTime(long cacheTime)
Set cache time in millis.
|
Modifier and Type | Method and Description |
---|---|
Optional<AbstractStreamResource> |
StreamResourceRegistry.getResource(URI uri)
Get a registered resource for given
URI . |
Modifier and Type | Method and Description |
---|---|
URI |
StreamResourceRegistry.getTargetURI(AbstractStreamResource resource)
Returns the URI path to the given resource in the context of this
registry (relevant in portlet context).
|
static URI |
StreamResourceRegistry.getURI(AbstractStreamResource resource)
Gets the URI for the given
resource . |
StreamRegistration |
StreamResourceRegistry.registerResource(AbstractStreamResource resource)
Registers a stream resource in the session and returns registration
handler.
|
Copyright © 2021. All rights reserved.