Package com.storedobject.vaadin
Class ResourceSupport
java.lang.Object
com.storedobject.vaadin.ResourceSupport
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the resource (will be unregistered if required).getURI()Get the URI of the resource.voidregister()Register the resource if not yet done (typically invoked when the component is attached).voidregister(com.vaadin.flow.server.AbstractStreamResource streamResource) Register a resource.voidUnregister the resource (typically invoked when the component is detached). 
- 
Constructor Details
- 
ResourceSupport
Constructor.- Parameters:
 component- Component for which support is required.
 
 - 
 - 
Method Details
- 
clear
public void clear()Clear the resource (will be unregistered if required). - 
register
public void register(com.vaadin.flow.server.AbstractStreamResource streamResource) Register a resource.- Parameters:
 streamResource- Stream source
 - 
register
public void register()Register the resource if not yet done (typically invoked when the component is attached). - 
unregister
public void unregister()Unregister the resource (typically invoked when the component is detached). - 
getURI
 
 -