|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.AbstractVaadinService
com.vaadin.server.VaadinServlet.ServletService
public static class VaadinServlet.ServletService
| Constructor Summary | |
|---|---|
VaadinServlet.ServletService(VaadinServlet servlet,
DeploymentConfiguration deploymentConfiguration)
|
|
| Method Summary | |
|---|---|
java.io.File |
getBaseDirectory()
Returns application context base directory. |
java.lang.String |
getConfiguredTheme(WrappedRequest request)
Gets the theme that is configured for this deployment, e.g. |
java.lang.String |
getConfiguredWidgetset(WrappedRequest request)
Gets the widgetset that is configured for this deployment, e.g. |
java.lang.String |
getMimeType(java.lang.String resourceName)
Returns the MIME type of the specified file, or null if the MIME type is not known. |
protected VaadinServlet |
getServlet()
|
java.lang.String |
getStaticFileLocation(WrappedRequest request)
Return the URL from where static files, e.g. |
SystemMessages |
getSystemMessages()
Gets the system messages object |
boolean |
isStandalone(WrappedRequest request)
Checks whether the Vaadin application will be rendered on its own in the browser or whether it will be included into some other context. |
| Methods inherited from class com.vaadin.server.AbstractVaadinService |
|---|
getAddonContext, getAddonContextListeners, getClassLoader, getDeploymentConfiguration, getVaadinSession, setAddonContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VaadinServlet.ServletService(VaadinServlet servlet,
DeploymentConfiguration deploymentConfiguration)
| Method Detail |
|---|
protected VaadinServlet getServlet()
public java.lang.String getStaticFileLocation(WrappedRequest request)
VaadinService
request - the request for which the location should be determined
public java.lang.String getConfiguredWidgetset(WrappedRequest request)
VaadinService
request - the request for which a widgetset is required
public java.lang.String getConfiguredTheme(WrappedRequest request)
VaadinService
request - the request for which a theme is required
public boolean isStandalone(WrappedRequest request)
VaadinService
request - the request for which the application is loaded
public java.lang.String getMimeType(java.lang.String resourceName)
VaadinService
resourceName - a String specifying the name of a file
ServletContext.getMimeType(String),
PortletContext.getMimeType(String)public SystemMessages getSystemMessages()
VaadinService
public java.io.File getBaseDirectory()
VaadinService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||