Package org.h2.server.web
Class WebApp
- java.lang.Object
-
- org.h2.server.web.WebApp
-
public class WebApp extends java.lang.ObjectFor each connection to a session, an object of this class is created. This class is used by the H2 Console.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.PropertiesattributesThe session attributesprotected booleancacheWhether the response can be cached.protected java.lang.StringheaderLanguageThe language in the HTTP header.protected java.lang.StringmimeTypeThe mime type of the current response.protected WebServerserverThe web server.protected org.h2.server.web.WebSessionsessionThe session.protected booleanstopWhether to close the connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringadminShutdown()Stop the application and the server.
-
-
-
Field Detail
-
server
protected final WebServer server
The web server.
-
session
protected org.h2.server.web.WebSession session
The session.
-
attributes
protected java.util.Properties attributes
The session attributes
-
mimeType
protected java.lang.String mimeType
The mime type of the current response.
-
cache
protected boolean cache
Whether the response can be cached.
-
stop
protected boolean stop
Whether to close the connection.
-
headerLanguage
protected java.lang.String headerLanguage
The language in the HTTP header.
-
-