autohit.transport
Class Response

java.lang.Object
  |
  +--autohit.transport.Response

public class Response
extends java.lang.Object

A standard response to a Query. We are going to "borrow" a class from the HTTPClient lib--NVPair. However, this Query class is *NOT* specific to http transports. Some transport will allow more than one Response per Query. They can be chained via the 'next' field.


Field Summary
 int cLength
          Content length.
 int code
          Response code.
 byte[] content
          Content data.
 HTTPClient.NVPair[] headers
          Headers.
 Response next
          Next response.
 
Constructor Summary
Response()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headers

public HTTPClient.NVPair[] headers
Headers.

code

public int code
Response code.

content

public byte[] content
Content data.

cLength

public int cLength
Content length.

next

public Response next
Next response.
Constructor Detail

Response

public Response()