org.abstracthorizon.danube.http
Class HTTPContext
java.lang.Object
org.abstracthorizon.danube.http.Selector
org.abstracthorizon.danube.http.HTTPContext
- All Implemented Interfaces:
- ConnectionHandler
- Direct Known Subclasses:
- JAASAuthenticatedHTTPContext
public class HTTPContext
- extends Selector
This class marks start of "web application" by setting
context path. All, potential, session handling will be done using
context path - path this component is defined on.
- Author:
- Daniel Sendula
Method Summary |
void |
handleConnection(Connection connection)
This method creates sets context path to be same as context path
up to here plus this component's path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPContext
public HTTPContext()
- Constructor
handleConnection
public void handleConnection(Connection connection)
- This method creates sets context path to be same as context path
up to here plus this component's path. Component's path is reset
to "
/"
- Specified by:
handleConnection
in interface ConnectionHandler
- Overrides:
handleConnection
in class Selector
- Parameters:
connection
- socket connection
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.