| Modifier and Type | Field and Description |
|---|---|
| private Bnf | |
| private final ArrayList | |
| private Connection | |
| private DbContents | |
| pack-priv Statement | executingStatement
The currently executing statement. |
| pack-priv long | lastAccess
The last time this client sent a request. |
| pack-priv Locale | locale
The current locale. |
| pack-priv final HashMap | map
The session attribute map. |
| private static final int | |
| private DatabaseMetaData | |
| pack-priv ResultSet | result
The current updatable result set. |
| private final WebServer | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv Object | |
| pack-priv Bnf | |
| pack-priv String | |
| pack-priv ArrayList | |
| pack-priv Connection | |
| pack-priv DbContents | |
| pack-priv HashMap | Returns: a map containing the session meta dataUpdate session meta data information and get the information in a map. |
| pack-priv DatabaseMetaData | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv Object | |
| pack-priv void | |
| pack-priv void |
| bnf | back to summary |
|---|---|
| private Bnf bnf | |
| commandHistory | back to summary |
|---|---|
| private final ArrayList<String> commandHistory | |
| conn | back to summary |
|---|---|
| private Connection conn | |
| contents | back to summary |
|---|---|
| private DbContents contents | |
| executingStatement | back to summary |
|---|---|
| pack-priv Statement executingStatement The currently executing statement. | |
| lastAccess | back to summary |
|---|---|
| pack-priv long lastAccess The last time this client sent a request. | |
| locale | back to summary |
|---|---|
| pack-priv Locale locale The current locale. | |
| map | back to summary |
|---|---|
| pack-priv final HashMap<String, Object> map The session attribute map. | |
| MAX_HISTORY | back to summary |
|---|---|
| private static final int MAX_HISTORY | |
| meta | back to summary |
|---|---|
| private DatabaseMetaData meta | |
| result | back to summary |
|---|---|
| pack-priv ResultSet result The current updatable result set. | |
| server | back to summary |
|---|---|
| private final WebServer server | |
| shutdownServerOnDisconnect | back to summary |
|---|---|
| private boolean shutdownServerOnDisconnect | |
| WebSession | back to summary |
|---|---|
| pack-priv WebSession(WebServer server) | |
| addCommand | back to summary |
|---|---|
| pack-priv void addCommand(String sql) Add a SQL statement to the history.
| |
| close | back to summary |
|---|---|
| pack-priv void close() Close the connection and stop the statement if one is currently executing. | |
| get | back to summary |
|---|---|
| pack-priv Object get(String key) Get the value for the given key. | |
| getBnf | back to summary |
|---|---|
| pack-priv Bnf getBnf() Get the BNF object.
| |
| getCommand | back to summary |
|---|---|
| pack-priv String getCommand(int id) Get the SQL statement from history.
| |
| getCommandHistory | back to summary |
|---|---|
| pack-priv ArrayList Get the list of SQL statements in the history. | |
| getConnection | back to summary |
|---|---|
| pack-priv Connection getConnection() | |
| getContents | back to summary |
|---|---|
| pack-priv DbContents getContents() | |
| getInfo | back to summary |
|---|---|
| pack-priv HashMap Update session meta data information and get the information in a map. | |
| getMetaData | back to summary |
|---|---|
| pack-priv DatabaseMetaData getMetaData() | |
| getShutdownServerOnDisconnect | back to summary |
|---|---|
| pack-priv boolean getShutdownServerOnDisconnect() | |
| loadBnf | back to summary |
|---|---|
| pack-priv void loadBnf() Load the SQL grammar BNF. | |
| put | back to summary |
|---|---|
| pack-priv void put(String key, Object value) Put an attribute value in the map. | |
| remove | back to summary |
|---|---|
| pack-priv Object remove(String key) Remove a session attribute from the map. | |
| setConnection | back to summary |
|---|---|
| pack-priv void setConnection(Connection conn) throws SQLException | |
| setShutdownServerOnDisconnect | back to summary |
|---|---|
| pack-priv void setShutdownServerOnDisconnect() Shutdown the server when disconnecting. | |