Uses of Class
com.vaadin.flow.server.AbstractStreamResource
Package
Description
-
Uses of AbstractStreamResource in com.vaadin.collaborationengine
Modifier and TypeMethodDescriptionCollaborationAvatarGroup.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
Modifier and TypeMethodDescriptionAvatar.getImageResource()
Gets the image that was set for the avatar.AvatarGroup.AvatarGroupItem.getImageResource()
Gets the image that was set for the avatar.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionvoid
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
.ModifierConstructorDescriptionAnchor
(AbstractStreamResource href, String text) Creates an anchor component with the given text content and stream resource.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.icon
Modifier and TypeMethodDescriptionvoid
SvgIcon.setSrc
(AbstractStreamResource src) Defines the source of the icon from the givenStreamResource
The resource must contain a valid SVG element.void
SvgIcon.setSrc
(AbstractStreamResource src, String symbol) Defines the src and the symbol to be used in the icon.ModifierConstructorDescriptionCreates an SVG icon with the given resourceSvgIcon
(AbstractStreamResource src, String symbol) Creates an SVG icon with the given resource -
Uses of AbstractStreamResource in com.vaadin.flow.component.messages
Modifier and TypeMethodDescriptionMessageListItem.getUserImageResource()
Gets the image resource of the message sender's avatar.Modifier and TypeMethodDescriptionvoid
MessageListItem.setUserImageResource
(AbstractStreamResource resource) Sets the image for the message sender's avatar. -
Uses of AbstractStreamResource in com.vaadin.flow.dom
Modifier and TypeMethodDescriptionElement.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
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionvoid
ElementAttributeMap.setResource
(String attribute, AbstractStreamResource resource) Sets the given attribute to the givenStreamResource
value. -
Uses of AbstractStreamResource in com.vaadin.flow.server
Modifier and TypeClassDescriptionclass
Represents a receiver for data upload from the client.class
Represents dynamically generated data.Modifier and TypeMethodDescription<T extends AbstractStreamResource>
Optional<T>StreamResourceRegistry.getResource
(Class<T> type, URI uri) Get a registered resource of given type.Modifier and TypeMethodDescriptionStreamRegistration.getResource()
Get the stream resource whose registration result is represented by thisStreamRegistration
instance.AbstractStreamResource.setCacheTime
(long cacheTime) Set cache time in millis.Modifier and TypeMethodDescriptionStreamResourceRegistry.getResource
(URI uri) Get a registered resource for givenURI
.Modifier and TypeMethodDescriptionStreamResourceRegistry.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
.StreamResourceRegistry.registerResource
(AbstractStreamResource resource) Registers a stream resource in the session and returns registration handler.