org.codehaus.wadi.jetty5
Class Handler

java.lang.Object
  extended byorg.mortbay.http.handler.AbstractHttpHandler
      extended byorg.codehaus.wadi.jetty5.Handler
All Implemented Interfaces:
org.mortbay.http.HttpHandler, LifeCycle, Serializable

public class Handler
extends org.mortbay.http.handler.AbstractHttpHandler

A Jetty Handler which checks incoming proxied requests to see if they were originally from a secure connection. If this is the case, it modifies the request object so that it encodes this fact.

Version:
$Revision: 1139 $
Author:
Jules Gosnell
See Also:
Serialized Form

Field Summary
protected  Log _log
           
protected  Pattern _trustedIps
           
 
Constructor Summary
Handler(Pattern trustedIps)
           
 
Method Summary
 void handle(String pathInContext, String pathParams, org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log

protected final Log _log

_trustedIps

protected final Pattern _trustedIps
Constructor Detail

Handler

public Handler(Pattern trustedIps)
Method Detail

handle

public void handle(String pathInContext,
                   String pathParams,
                   org.mortbay.http.HttpRequest request,
                   org.mortbay.http.HttpResponse response)


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.