|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.DynamicConnectorResource
public class DynamicConnectorResource
A resource that is served by calling
ClientConnector.handleConnectorRequest(VaadinRequest, VaadinResponse, String)
with appropriate parameters.
| Constructor Summary | |
|---|---|
DynamicConnectorResource(ClientConnector connector,
java.lang.String path)
Creates a DynamicConnectorResoruce for the given connector that will be served by calling ClientConnector.handleConnectorRequest(VaadinRequest, VaadinResponse, String)
with the given path. |
|
DynamicConnectorResource(ClientConnector connector,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a DynamicConnectorResoruce for the given connector that will be served by calling ClientConnector.handleConnectorRequest(VaadinRequest, VaadinResponse, String)
with the given path and the given request parameters. |
|
| Method Summary | |
|---|---|
ClientConnector |
getConnector()
|
java.lang.String |
getMIMEType()
Gets the MIME type of the resource. |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
|
java.lang.String |
getPath()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicConnectorResource(ClientConnector connector,
java.lang.String path)
ClientConnector.handleConnectorRequest(VaadinRequest, VaadinResponse, String)
with the given path.
connector - the connector that should serve the resourcepath - the relative path of the request
public DynamicConnectorResource(ClientConnector connector,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> parameters)
ClientConnector.handleConnectorRequest(VaadinRequest, VaadinResponse, String)
with the given path and the given request parameters.
connector - the connector that should serve the resourcepath - the relative path of the requestparameters - the parameters that should be present in the request| Method Detail |
|---|
public java.lang.String getMIMEType()
Resource
getMIMEType in interface Resourcepublic java.lang.String getPath()
public ClientConnector getConnector()
public java.util.Map<java.lang.String,java.lang.String> getParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||