|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.ServletRequestWrapper
org.norther.tammi.spray.filter.chain.ServletRequestWrapper
org.norther.tammi.spray.connector.chain.AbstractConnectorRequest
org.norther.tammi.spray.connector.chain.ConnectorRequest
public class ConnectorRequest
A default implementation of the connector request implementing raw stream support.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.norther.tammi.spray.connector.chain.AbstractConnectorRequest |
|---|
AbstractConnectorRequest.ConnectorRequestExtension |
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.spray.connector.chain.AbstractConnectorRequest |
|---|
PROTOCOL |
| Constructor Summary | |
|---|---|
ConnectorRequest(Connection c)
Constructs a new request. |
|
ConnectorRequest(Connection c,
InputStream in)
Constructs a new request with a stream. |
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes the object after use. |
void |
disposed()
A call back indicating that this instance is not needed any more and can be disposed. |
void |
filtered(FilterChainEvent event)
Notifies the object that it has been activated within a filter chain. |
Object |
getAttribute(String name)
|
protected InputStream |
getRawInputStream()
Gets the raw input stream. |
void |
recycle(Connection c,
InputStream in)
Recycles a request with a stream. |
| 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 org.norther.tammi.spray.filter.chain.ServletRequestWrapper |
|---|
getExtension, getFilterChain, getFilteredResponse, isDisposed, recycle, recycle, recycled, setExtension |
| Methods inherited from class javax.servlet.ServletRequestWrapper |
|---|
getRequest, setRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorRequest(Connection c)
c - the connection.
public ConnectorRequest(Connection c,
InputStream in)
c - the connection.in - an input stream.| Method Detail |
|---|
public void recycle(Connection c,
InputStream in)
c - the connection.in - an input stream.public void dispose()
Recyclable
dispose in interface Recyclabledispose in class AbstractConnectorRequestpublic void disposed()
Poolable
disposed in interface Poolabledisposed in class ServletRequestWrapperpublic Object getAttribute(String name)
getAttribute in interface ServletRequestgetAttribute in class AbstractConnectorRequestpublic void filtered(FilterChainEvent event)
FilterChainListener
filtered in interface FilterChainListenerfiltered in class ServletRequestWrapperevent - the filter chain event.protected InputStream getRawInputStream()
AbstractConnectorRequest
getRawInputStream in class AbstractConnectorRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||