com.vaadin.server
Interface ConnectorResource

All Superinterfaces:
Resource, java.io.Serializable
All Known Implementing Classes:
ClassResource, FileResource, StreamResource

public interface ConnectorResource
extends Resource

A resource that is served through the Connector that is using the resource.

Since:
7.0.0
Version:
@VERSION@
Author:
Vaadin Ltd
See Also:
AbstractClientConnector.setResource(String, Resource)

Field Summary
static java.lang.String CONNECTOR_REQUEST_PATH
           
 
Method Summary
 java.lang.String getFilename()
          Gets the virtual filename for this resource.
 DownloadStream getStream()
          Gets resource as stream.
 
Methods inherited from interface com.vaadin.server.Resource
getMIMEType
 

Field Detail

CONNECTOR_REQUEST_PATH

static final java.lang.String CONNECTOR_REQUEST_PATH
See Also:
Constant Field Values
Method Detail

getStream

DownloadStream getStream()
Gets resource as stream.


getFilename

java.lang.String getFilename()
Gets the virtual filename for this resource.

Returns:
the file name associated to this resource.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.