Package | Description |
---|---|
com.vaadin.flow.component.html | |
com.vaadin.flow.dom | |
com.vaadin.flow.dom.impl | |
com.vaadin.flow.internal.nodefeature | |
com.vaadin.flow.server |
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 |
---|---|
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 |
---|---|
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 © 2019. All rights reserved.