|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.littleshoot.proxy.DefaultCachedHttpResponse
public class DefaultCachedHttpResponse
Default implementation for storing HTTP response data in the cache.
| Constructor Summary | |
|---|---|
DefaultCachedHttpResponse(org.jboss.netty.buffer.ChannelBuffer channelBuffer,
org.jboss.netty.channel.ChannelFutureListener channelFutureListener)
Creates a new cached response. |
|
| Method Summary | |
|---|---|
org.jboss.netty.buffer.ChannelBuffer |
getChannelBuffer()
Accessor for the raw data for the response. |
org.jboss.netty.channel.ChannelFutureListener |
getChannelFutureListener()
Accessor for the listener for once the response is written. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCachedHttpResponse(org.jboss.netty.buffer.ChannelBuffer channelBuffer,
org.jboss.netty.channel.ChannelFutureListener channelFutureListener)
channelBuffer - The channel buffer with data to write.channelFutureListener - The class for listening to write events
that takes appropriate actions such as closing the connection.| Method Detail |
|---|
public org.jboss.netty.buffer.ChannelBuffer getChannelBuffer()
CachedHttpResponse
getChannelBuffer in interface CachedHttpResponsepublic org.jboss.netty.channel.ChannelFutureListener getChannelFutureListener()
CachedHttpResponse
getChannelFutureListener in interface CachedHttpResponse
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||