public interface ConnectorResource extends Resource
AbstractClientConnector.setResource(String, Resource)
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTOR_PATH |
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Gets the virtual filename for this resource.
|
DownloadStream |
getStream()
Gets resource as stream.
|
getMIMEType
static final String CONNECTOR_PATH
DownloadStream getStream()
Note that this method is called while the session is locked to prevent
race conditions but the methods in the returned DownloadStream
are assumed to be unrelated to the VaadinSession and are called without
holding session locks (to prevent locking the session during long file
downloads).
String getFilename()
Copyright © 2019 Vaadin Ltd. All rights reserved.