Class StreamResourceRegistry.ElementStreamResource

java.lang.Object
com.vaadin.flow.server.AbstractStreamResource
com.vaadin.flow.server.StreamResourceRegistry.ElementStreamResource
All Implemented Interfaces:
Serializable
Enclosing class:
StreamResourceRegistry

public static class StreamResourceRegistry.ElementStreamResource extends AbstractStreamResource
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 Details

  • Method Details

    • getElementRequestHandler

      public ElementRequestHandler getElementRequestHandler()
    • getName

      public String 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 class AbstractStreamResource
      Returns:
      resource name
    • getOwner

      public Element getOwner()