org.mortbay.http.handler
Class MsieSslHandler

java.lang.Object
  extended byorg.mortbay.http.handler.AbstractHttpHandler
      extended byorg.mortbay.http.handler.MsieSslHandler
All Implemented Interfaces:
HttpHandler, LifeCycle, java.io.Serializable

public class MsieSslHandler
extends AbstractHttpHandler

Handler to force MSIE SSL connections to not be persistent to work around MSIE5 bug.

Author:
gregw, chris haynes
See Also:
Serialized Form

Constructor Summary
MsieSslHandler()
           
 
Method Summary
 java.lang.String getUserAgentSubString()
           
 void handle(java.lang.String pathInContext, java.lang.String pathParams, HttpRequest request, HttpResponse response)
          Handle a request.
 void setUserAgentSubString(java.lang.String string)
           
 
Methods inherited from class org.mortbay.http.handler.AbstractHttpHandler
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsieSslHandler

public MsieSslHandler()
Method Detail

handle

public void handle(java.lang.String pathInContext,
                   java.lang.String pathParams,
                   HttpRequest request,
                   HttpResponse response)
            throws HttpException,
                   java.io.IOException
Description copied from interface: HttpHandler
Handle a request. Note that Handlers are tried in order until one has handled the request. i.e. until request.isHandled() returns true. In broad terms this means, either a response has been commited or request.setHandled(true) has been called.

Parameters:
pathInContext - The context path
pathParams - Path parameters such as encoded Session ID
request - The HttpRequest request
response - The HttpResponse response
Throws:
HttpException
java.io.IOException

getUserAgentSubString

public java.lang.String getUserAgentSubString()
Returns:
The substring to match against the User-Agent field

setUserAgentSubString

public void setUserAgentSubString(java.lang.String string)
Parameters:
string - The substring to match against the User-Agent field


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.