org.norther.tammi.spray.connector.chain
Class DispatchedRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
org.norther.tammi.spray.filter.chain.ServletRequestWrapper
org.norther.tammi.spray.connector.chain.AbstractConnectorRequest
org.norther.tammi.spray.connector.chain.DispatchedRequest
- All Implemented Interfaces:
- EventListener, ServletRequest, Poolable, Recyclable, FilterChainListener
public class DispatchedRequest
- extends AbstractConnectorRequest
A dispatched request providing about the same functionality as
ConnectorRequest and hiding others to provide a fresh start for forwards and
includes.
- Author:
- Ilkka Priha
| Methods inherited from class org.norther.tammi.spray.connector.chain.AbstractConnectorRequest |
completed, getAttributeNames, getCharacterEncoding, getConnection, getContentLength, getContentType, getFilteredRequest, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, recycle, recycle, removeAttribute, setAttribute, setCharacterEncoding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DispatchedRequest
public DispatchedRequest(Connection con,
String path,
ServletRequest req)
- Constructs a new request for the encoded path.
- Parameters:
con - the connection.path - the dispatch path.req - the request to dispatch.
recycle
public void recycle(Connection con,
String path,
ServletRequest req)
- Recycles a request for the encoded path.
- Parameters:
con - the connection.path - the dispatch path.req - the request to dispatch.
dispose
public void dispose()
- Description copied from interface:
Recyclable
- Disposes the object after use. The method is called when the object is
returned to its pool. The dispose method must call its super.
- Specified by:
dispose in interface Recyclable- Overrides:
dispose in class AbstractConnectorRequest
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttribute in interface ServletRequest- Overrides:
getAttribute in class AbstractConnectorRequest
filtered
public void filtered(FilterChainEvent event)
- Description copied from interface:
FilterChainListener
- Notifies the object that it has been activated within a filter chain.
- Specified by:
filtered in interface FilterChainListener- Overrides:
filtered in class ServletRequestWrapper
- Parameters:
event - the filter chain event.
getRawInputStream
protected InputStream getRawInputStream()
- Description copied from class:
AbstractConnectorRequest
- Gets the raw input stream.
- Specified by:
getRawInputStream in class AbstractConnectorRequest
- Returns:
- the raw input stream or null.
Copyright © 2004 The Norther Organization. All rights reserved.