Modified the web server to allow connection related data to be stored in the connection's context by the application. This modifies the contract (interfaces) between the framework and application code, requiring changes to the application (breaks backward compatibility).
This commit is contained in:
@@ -168,8 +168,9 @@ public void createSecureSession(ISession session);
|
||||
* @param session The non-secure session. This may be null if the application does not use a session object.
|
||||
* @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).
|
||||
*/
|
||||
public void processRequest(IRequest request, IResponse response, ISession session, boolean isSecure, boolean clientHadBadSession);
|
||||
public void processRequest(IRequest request, IResponse response, ISession session, boolean isSecure, boolean clientHadBadSession, IConnectionContext connectionContext);
|
||||
/**
|
||||
* Releases any resources associated with the web server application.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user