| Modifier and Type | Field and Description |
|---|---|
| private SessionManager |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| protected void | |
| protected void | |
| public SessionManager | |
| public void | handle(String
The target of the request - either a URI or a name. target, HttpServletRequest The request either as the request, HttpServletResponse Request
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Request object if required.The response as the response, int dispatch)Response
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Response object if required.Overrides org. Implements org. |
| protected void | setRequestedId(HttpServletRequest request, int dispatch)
Look for a requested session ID in cookies and URI parameters |
| public void | setServer(Server server)
Overrides org. Implements org. |
| public void |
| _sessionManager | back to summary |
|---|---|
| private SessionManager _sessionManager | |
| SessionHandler | back to summary |
|---|---|
| public SessionHandler() Constructor. Construct a SessionHandler witha a HashSessionManager with a standard java.util.Random generator is created. | |
| SessionHandler | back to summary |
|---|---|
public SessionHandler(SessionManager manager)
| |
| addEventListener | back to summary |
|---|---|
| public void addEventListener(EventListener listener) | |
| clearEventListeners | back to summary |
|---|---|
| public void clearEventListeners() | |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception | |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception | |
| getSessionManager | back to summary |
|---|---|
public SessionManager getSessionManager()
| |
| handle | back to summary |
|---|---|
| public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException, ServletException Overrides org. Implements org. Doc from org. Handle a request.
| |
| setRequestedId | back to summary |
|---|---|
| protected void setRequestedId(HttpServletRequest request, int dispatch) Look for a requested session ID in cookies and URI parameters | |
| setServer | back to summary |
|---|---|
| public void setServer(Server server) Overrides org. Implements org. | |
| setSessionManager | back to summary |
|---|---|
public void setSessionManager(SessionManager sessionManager)
| |