org.littleshoot.proxy
Interface CachedHttpResponse

All Known Implementing Classes:
DefaultCachedHttpResponse

public interface CachedHttpResponse

HTTP response object stored in the cache.


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.
 

Method Detail

getChannelBuffer

org.jboss.netty.buffer.ChannelBuffer getChannelBuffer()
Accessor for the raw data for the response.

Returns:
The raw data for the response.

getChannelFutureListener

org.jboss.netty.channel.ChannelFutureListener getChannelFutureListener()
Accessor for the listener for once the response is written. This will take the appropriate action based on HTTP rules, such as closing the connection.

Returns:
The class for listening for write events on the completed response.


Copyright © 2009-2013 LittleShoot. All Rights Reserved.