org.mortbay.jetty.servlet

Class JSR154Filter

public class JSR154Filter extends Object implements Filter

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: The boolean init parameter "unwrappedDispatched"
Method Summary
voiddestroy()
voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain)
Dispatcher.DispatcherRequestgetDispatchRequest()
voidinit(FilterConfig filterConfig)
booleanisUnwrappedDispatchSupported()
voidsetDispatch(Dispatcher.DispatcherRequest request, Dispatcher.DispatcherResponse response)
protected voidsetRequestAttributeListeners(Object list)
protected voidsetRequestListeners(Object list)
voidsetUnwrappedDispatchSupported(boolean supportUnwrappedDispatch)

Method Detail

destroy

public void destroy()

doFilter

public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)

getDispatchRequest

public Dispatcher.DispatcherRequest getDispatchRequest()

init

public void init(FilterConfig filterConfig)

isUnwrappedDispatchSupported

public boolean isUnwrappedDispatchSupported()

setDispatch

public void setDispatch(Dispatcher.DispatcherRequest request, Dispatcher.DispatcherResponse response)

setRequestAttributeListeners

protected void setRequestAttributeListeners(Object list)

setRequestListeners

protected void setRequestListeners(Object list)

setUnwrappedDispatchSupported

public void setUnwrappedDispatchSupported(boolean supportUnwrappedDispatch)

Parameters: supportUnwrappedDispatch The supportUnwrappedDispatch to set.

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