public class TopLevelPublishedFileHandler extends Object implements com.vaadin.server.RequestHandler
PublishedFileHandler
. The original handler assumes that the
/APP/PUBLISHED part of url is inside request.getPathInfo(). That is not our case.
In effect, this allows us to consume following url:
* http://Constructor and Description |
---|
TopLevelPublishedFileHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleRequest(com.vaadin.server.VaadinSession session,
com.vaadin.server.VaadinRequest request,
com.vaadin.server.VaadinResponse response)
Writes the connector resource identified by the request URI to the
response.
|
public boolean handleRequest(com.vaadin.server.VaadinSession session, com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response) throws IOException
handleRequest
in interface com.vaadin.server.RequestHandler
IOException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.