Uses of Class
com.vaadin.flow.server.AbstractStreamResource
-
-
Uses of AbstractStreamResource in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine that return AbstractStreamResource Modifier and Type Method Description AbstractStreamResource
CollaborationAvatarGroup.ImageProvider. getImageResource(UserInfo user)
Gets a stream resource that provides the avatar image for the given user. -
Uses of AbstractStreamResource in com.vaadin.flow.component.avatar
Methods in com.vaadin.flow.component.avatar that return AbstractStreamResource Modifier and Type Method Description AbstractStreamResource
Avatar. getImageResource()
Gets the image that was set for the avatar.AbstractStreamResource
AvatarGroup.AvatarGroupItem. getImageResource()
Gets the image that was set for the avatar.Methods in com.vaadin.flow.component.avatar with parameters of type AbstractStreamResource Modifier and Type Method Description void
Avatar. setImageResource(AbstractStreamResource resource)
Sets the image for the avatar.void
AvatarGroup.AvatarGroupItem. setImageResource(AbstractStreamResource resource)
Sets the image for the avatar. -
Uses of AbstractStreamResource in com.vaadin.flow.component.html
Methods in com.vaadin.flow.component.html with parameters of type AbstractStreamResource Modifier and Type Method Description void
HtmlObject. setData(AbstractStreamResource data)
Sets theStreamResource
URL as "data" attribute value .void
Anchor. setHref(AbstractStreamResource href)
Sets the URL that this anchor links to with the URL of the givenStreamResource
.void
Image. setSrc(AbstractStreamResource src)
Sets the image URL with the URL of the givenStreamResource
.Constructors in com.vaadin.flow.component.html with parameters of type AbstractStreamResource Constructor Description Anchor(AbstractStreamResource href, String text)
Creates an anchor component with the given text content and stream resource.HtmlObject(AbstractStreamResource data)
Creates a new<object>
component with given data resource value.HtmlObject(AbstractStreamResource data, Param... params)
Creates a new<object>
component with given data resource value and "param" components.HtmlObject(AbstractStreamResource data, String type)
Creates a new<object>
component with given data resource and type value.HtmlObject(AbstractStreamResource data, String type, Param... params)
Creates a new<object>
component with given data resource, type value and "param" components.Image(AbstractStreamResource src, String alt)
Creates an image with the given stream resource and an alternative text. -
Uses of AbstractStreamResource in com.vaadin.flow.component.messages
Methods in com.vaadin.flow.component.messages that return AbstractStreamResource Modifier and Type Method Description AbstractStreamResource
MessageListItem. getUserImageResource()
Gets the image resource of the message sender's avatar.Methods in com.vaadin.flow.component.messages with parameters of type AbstractStreamResource Modifier and Type Method Description void
MessageListItem. setUserImageResource(AbstractStreamResource resource)
Sets the image for the message sender's avatar. -
Uses of AbstractStreamResource in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom with parameters of type AbstractStreamResource Modifier and Type Method Description Element
Element. setAttribute(String attribute, AbstractStreamResource resource)
Sets the given attribute to the givenStreamResource
value.void
ElementStateProvider. setAttribute(StateNode node, String attribute, AbstractStreamResource resource)
Sets the given attribute to the givenStreamResource
value. -
Uses of AbstractStreamResource in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl with parameters of type AbstractStreamResource Modifier and Type Method Description void
AbstractTextElementStateProvider. setAttribute(StateNode node, String attribute, AbstractStreamResource resource)
void
BasicElementStateProvider. setAttribute(StateNode node, String attribute, AbstractStreamResource receiver)
void
ShadowRootStateProvider. setAttribute(StateNode node, String attribute, AbstractStreamResource resource)
-
Uses of AbstractStreamResource in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature with parameters of type AbstractStreamResource Modifier and Type Method Description void
ElementAttributeMap. setResource(String attribute, AbstractStreamResource resource)
Sets the given attribute to the givenStreamResource
value. -
Uses of AbstractStreamResource in com.vaadin.flow.server
Subclasses of AbstractStreamResource in com.vaadin.flow.server Modifier and Type Class Description class
StreamReceiver
Represents a receiver for data upload from the client.class
StreamResource
Represents dynamically generated data.Methods in com.vaadin.flow.server with type parameters of type AbstractStreamResource Modifier and Type Method Description <T extends AbstractStreamResource>
Optional<T>StreamResourceRegistry. getResource(Class<T> type, URI uri)
Get a registered resource of given type.Methods in com.vaadin.flow.server that return AbstractStreamResource Modifier and Type Method Description AbstractStreamResource
StreamRegistration. getResource()
Get the stream resource whose registration result is represented by thisStreamRegistration
instance.AbstractStreamResource
AbstractStreamResource. setCacheTime(long cacheTime)
Set cache time in millis.Methods in com.vaadin.flow.server that return types with arguments of type AbstractStreamResource Modifier and Type Method Description Optional<AbstractStreamResource>
StreamResourceRegistry. getResource(URI uri)
Get a registered resource for givenURI
.Methods in com.vaadin.flow.server with parameters of type AbstractStreamResource Modifier and Type Method 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 givenresource
.StreamRegistration
StreamResourceRegistry. registerResource(AbstractStreamResource resource)
Registers a stream resource in the session and returns registration handler.
-