A second round of fixes to simplify the web application setup code and provide for a connection context accessible by the application when handling web requests.
This commit is contained in:
@@ -152,7 +152,7 @@ public ISession recreateSession(String sessionId);
|
||||
/**
|
||||
* Creates a new session.
|
||||
* @param requestHandler The request handler that can be used to setup a reflection context.
|
||||
* @return The newly created and indexed session.
|
||||
* @return The newly created and indexed session. This value may not be null.
|
||||
*/
|
||||
public ISession createSession();
|
||||
/**
|
||||
@@ -165,7 +165,7 @@ public void createSecureSession(ISession session);
|
||||
* Processes a request from the client associated with the session. The result is placed in the response object.
|
||||
* @param request The request metadata.
|
||||
* @param response The response metadata.
|
||||
* @param session The non-secure session. This may be null if the application does not use a session object.
|
||||
* @param session The session context for the request (never null). This is *NOT* the Session Data or Secure Session Data that the application provides, but they are accessable from this session. Provide internal (to the web server) session related data.
|
||||
* @param isSecure Whether the request was made over a secure connection and provided the correct secure id.
|
||||
* @param clientHadBadSession Whether the client's request contained a session reference that could not be found on the server.
|
||||
* @param connectionContext The context object for the connection (socket) between the client (web browser) and server (web server).
|
||||
|
||||
Reference in New Issue
Block a user