public class WebApp extends Object
Modifier and Type | Field and Description |
---|---|
protected Properties |
attributes
The session attributes
|
protected boolean |
cache
Whether the response can be cached.
|
protected String |
headerLanguage
The language in the HTTP header.
|
protected String |
mimeType
The mime type of the current response.
|
protected WebServer |
server
The web server.
|
protected org.h2.server.web.WebSession |
session
The session.
|
protected boolean |
stop
Whether to close the connection.
|
Modifier and Type | Method and Description |
---|---|
protected String |
adminShutdown()
Stop the application and the server.
|
protected void |
query(Connection conn,
String s,
int i,
int size,
StringBuilder buff)
Execute a query and append the result to the buffer.
|
protected WebServer server
protected org.h2.server.web.WebSession session
protected Properties attributes
protected String mimeType
protected boolean cache
protected boolean stop
protected String headerLanguage
protected String adminShutdown()
protected void query(Connection conn, String s, int i, int size, StringBuilder buff)
conn
- the connections
- the statementi
- the indexsize
- the number of statementsbuff
- the target bufferCopyright © 2012 JBoss by Red Hat. All Rights Reserved.