org.openqa.jetty.http.handler
Class MsieSslHandler

java.lang.Object
  extended by org.openqa.jetty.http.handler.AbstractHttpHandler
      extended by org.openqa.jetty.http.handler.MsieSslHandler
All Implemented Interfaces:
Serializable, HttpHandler, LifeCycle

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
 String getUserAgentSubString()
           
 void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response)
          Handle a request.
 void setUserAgentSubString(String string)
           
 
Methods inherited from class org.openqa.jetty.http.handler.AbstractHttpHandler
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsieSslHandler

public MsieSslHandler()
Method Detail

handle

public void handle(String pathInContext,
                   String pathParams,
                   HttpRequest request,
                   HttpResponse response)
            throws HttpException,
                   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
IOException

getUserAgentSubString

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

setUserAgentSubString

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


Copyright © 2012. All Rights Reserved.