org.mortbay.jetty.servlet
Class JSR154Filter
java.lang.Object
org.mortbay.jetty.servlet.JSR154Filter
- Filter
public class JSR154Filter
extends java.lang.Object
JSR 154 Stupidness filter.
This filter contains the elements of the JSR154 servlet 2.4 specification
that are too objectionable to include in the core of Jetty. Thus they have
been added as a filter that can be removed from the defaultweb.xml file if
none of the following "features" are required:
- RequestAttributeListeners. If you actually have a real use for these, please
tell the jetty lists what they are and why you can't use a normal filter/wrapper for
this?
- SRV.6.2.2 Dispatachers where the container cannot wrap the request or
response. See http://jetty.mortbay.org/jetty/doc/servlet24.html#d0e711
to find out why this is stupid.
The boolean init parameter "unwrappedDispatched"
getDispatchRequest
public org.mortbay.jetty.servlet.Dispatcher.DispatcherRequest getDispatchRequest()
isUnwrappedDispatchSupported
public boolean isUnwrappedDispatchSupported()
setDispatch
public void setDispatch(org.mortbay.jetty.servlet.Dispatcher.DispatcherRequest request,
org.mortbay.jetty.servlet.Dispatcher.DispatcherResponse response)
setRequestAttributeListeners
protected void setRequestAttributeListeners(Object list)
setRequestListeners
protected void setRequestListeners(Object list)
setUnwrappedDispatchSupported
public void setUnwrappedDispatchSupported(boolean supportUnwrappedDispatch)
supportUnwrappedDispatch
- The supportUnwrappedDispatch to set.
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.