Package | Description |
---|---|
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 |
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 © 2000–2021 Vaadin Ltd. All rights reserved.