Package com.vaadin.flow.server
Class StreamResourceRegistry.ElementStreamResource
java.lang.Object
com.vaadin.flow.server.AbstractStreamResource
com.vaadin.flow.server.StreamResourceRegistry.ElementStreamResource
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StreamResourceRegistry
Internal wrapper class for wrapping
ElementRequestHandler
instances as AbstractStreamResource
compatible instances.
For internal use only. May be renamed or removed in a future release.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionElementStreamResource
(ElementRequestHandler elementRequestHandler, Element owner) -
Method Summary
Methods inherited from class com.vaadin.flow.server.AbstractStreamResource
getCacheTime, getId, setCacheTime
-
Constructor Details
-
ElementStreamResource
-
-
Method Details
-
getElementRequestHandler
-
getName
Description copied from class:AbstractStreamResource
Get the resource name.The value will be used in URI (generated when resource is registered) in a way that the
name
is the last segment of the path. So this is a synthetic name.- Specified by:
getName
in classAbstractStreamResource
- Returns:
- resource name
-
getOwner
-