org.mortbay.http.ajp
Class AJP13ResponsePacket

java.lang.Object
  |
  +--org.mortbay.http.ajp.AJP13Packet
        |
        +--org.mortbay.http.ajp.AJP13ResponsePacket

public class AJP13ResponsePacket
extends AJP13Packet

AJP13ResponsePacket used by AJP13OutputStream

Author:
Jason Jenkins This class has the HTTP head encodings for AJP13 Response Packets

Field Summary
static java.lang.String[] __ResponseHeader
           
 
Fields inherited from class org.mortbay.http.ajp.AJP13Packet
__DATA_HDR, __END_RESPONSE, __FORWARD_REQUEST, __GET_BODY_CHUNK, __HDR_SIZE, __header, __MAX_BUF, __MAX_DATA, __method, __SEND_BODY_CHUNK, __SEND_HEADERS, __SHUTDOWN
 
Constructor Summary
AJP13ResponsePacket(byte[] buffer)
           
AJP13ResponsePacket(byte[] buffer, int len)
           
AJP13ResponsePacket(int size)
           
 
Method Summary
 void populateHeaders()
          Abstract method to populate the header array and hash map.
 
Methods inherited from class org.mortbay.http.ajp.AJP13Packet
addBoolean, addByte, addBytes, addHeader, addInt, addString, destroy, getBoolean, getBuffer, getBufferSize, getByte, getBytes, getDataSize, getHeader, getInt, getMark, getMethod, getString, prepare, read, reset, resetData, setDataSize, setDataSize, setInt, toString, toString, unconsumedCapacity, unconsumedData, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__ResponseHeader

public static java.lang.String[] __ResponseHeader
Constructor Detail

AJP13ResponsePacket

public AJP13ResponsePacket(byte[] buffer,
                           int len)
Parameters:
buffer -
len -

AJP13ResponsePacket

public AJP13ResponsePacket(byte[] buffer)
Parameters:
buffer -

AJP13ResponsePacket

public AJP13ResponsePacket(int size)
Parameters:
size -
Method Detail

populateHeaders

public void populateHeaders()
Description copied from class: AJP13Packet
Abstract method to populate the header array and hash map.

Specified by:
populateHeaders in class AJP13Packet


Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.