org.apache.catalina.connector.warp
Class WarpResponse

org.apache.catalina.connector.warp.WarpResponse

public class WarpResponse


Inner Class Summary
protected  class WarpResponse.Stream
          The OutputStream that will handle all response body transmission.
 
Constructor Summary
WarpResponse()
          Create a new instance of a WarpResponse.
 
Method Summary
 void finishResponse()
          Flush output and finish.
 WarpConnection getConnection()
          Return the WarpConnection associated this instance of WarpResponse.
 WarpPacket getPacket()
          Return the WarpPacket instance used to process headers.
 void recycle()
          Recycle this WarpResponse instance.
protected  void sendHeaders()
          Send the HTTP response headers, if this has not already occurred.
 void setConnection(WarpConnection connection)
          Associate this WarpResponse instance with a specific WarpConnection instance.
 void setPacket(WarpPacket packet)
          Set the WarpPacket instance used to process headers.
 

Constructor Detail

WarpResponse

public WarpResponse()
Create a new instance of a WarpResponse.
Method Detail

recycle

public void recycle()
Recycle this WarpResponse instance.

setPacket

public void setPacket(WarpPacket packet)
Set the WarpPacket instance used to process headers.

getPacket

public WarpPacket getPacket()
Return the WarpPacket instance used to process headers.

setConnection

public void setConnection(WarpConnection connection)
Associate this WarpResponse instance with a specific WarpConnection instance.

getConnection

public WarpConnection getConnection()
Return the WarpConnection associated this instance of WarpResponse.

finishResponse

public void finishResponse()
                    throws java.io.IOException
Flush output and finish.

sendHeaders

protected void sendHeaders()
                    throws java.io.IOException
Send the HTTP response headers, if this has not already occurred.