Package org.h2.server.web
Class WebApp
java.lang.Object
org.h2.server.web.WebApp
For each connection to a session, an object of this class is created.
This class is used by the H2 Console.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropertiesThe session attributesprotected booleanWhether the response can be cached.protected StringThe language in the HTTP header.protected StringThe mime type of the current response.protected final WebServerThe web server.protected org.h2.server.web.WebSessionThe session.protected booleanWhether to close the connection. -
Method Summary
-
Field Details
-
server
The web server. -
session
protected org.h2.server.web.WebSession sessionThe session. -
attributes
The session attributes -
mimeType
The mime type of the current response. -
cache
protected boolean cacheWhether the response can be cached. -
stop
protected boolean stopWhether to close the connection. -
headerLanguage
The language in the HTTP header.
-
-
Method Details
-
adminShutdown
Stop the application and the server.- Returns:
- the page to display
-