|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.ServletResponseWrapper
org.norther.tammi.spray.filter.chain.ServletResponseWrapper
org.norther.tammi.spray.connector.chain.AbstractConnectorResponse
org.norther.tammi.spray.connector.chain.ConnectorResponse
public class ConnectorResponse
A default implementation of the connector response implementing raw stream support.
| Constructor Summary | |
|---|---|
ConnectorResponse()
Constructs a new response. |
|
ConnectorResponse(OutputStream out)
Constructs a new response 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. |
protected OutputStream |
getRawOutputStream()
Gets the raw output stream. |
void |
recycle(OutputStream out)
Recycles a response with a stream. |
| Methods inherited from class org.norther.tammi.spray.connector.chain.AbstractConnectorResponse |
|---|
flushBuffer, getBufferSize, getByteCount, getCharacterEncoding, getContentType, getLocale, getOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setCharacterEncoding, setContentLength, setContentType, setLocale |
| Methods inherited from class org.norther.tammi.spray.filter.chain.ServletResponseWrapper |
|---|
completed, filtered, getExtension, getFilterChain, getFilteredRequest, getFilteredResponse, isDisposed, recycle, recycle, recycled |
| Methods inherited from class javax.servlet.ServletResponseWrapper |
|---|
getResponse, setResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorResponse()
public ConnectorResponse(OutputStream out)
out - an output stream to the client.| Method Detail |
|---|
public void recycle(OutputStream out)
out - an output stream to the client.public void dispose()
Recyclable
dispose in interface Recyclabledispose in class AbstractConnectorResponsepublic void disposed()
Poolable
disposed in interface Poolabledisposed in class AbstractConnectorResponseprotected OutputStream getRawOutputStream()
AbstractConnectorResponse
getRawOutputStream in class AbstractConnectorResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||