SSF.OS.WWW
Class httpRequest

java.lang.Object
  |
  +--SSF.OS.WWW.httpRequest

public class httpRequest
extends java.lang.Object

httpRequest.java Created: Wed Nov 24 1999 ato


Field Summary
static byte CLOSE
          HTTP connection behavior control: HTTP 1.0: separate TCP connection for each request-response cycle, each request_type is or-ed with CLOSE - server to close connection after completing response.
static byte OBJECT
          request_type: GET an inlined object URI
 int objSize
          payload object size (in bytes) if any included in the request
static byte PAGE
          request_type: GET a page URI
 byte requestType
          type of this request
 
Constructor Summary
httpRequest()
          Constructors
httpRequest(byte request_type)
           
 
Method Summary
 java.lang.String toString()
          to print the request message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PAGE

public static final byte PAGE
request_type: GET a page URI

See Also:
Constant Field Values

OBJECT

public static final byte OBJECT
request_type: GET an inlined object URI

See Also:
Constant Field Values

CLOSE

public static final byte CLOSE
HTTP connection behavior control: HTTP 1.0: separate TCP connection for each request-response cycle, each request_type is or-ed with CLOSE - server to close connection after completing response. HTTP 1.1: one persistent TCP connection for client-server session, only the last-in-session request_type is or-ed with CLOSE.

See Also:
Constant Field Values

requestType

public byte requestType
type of this request


objSize

public int objSize
payload object size (in bytes) if any included in the request

Constructor Detail

httpRequest

public httpRequest()
Constructors


httpRequest

public httpRequest(byte request_type)
Method Detail

toString

public java.lang.String toString()
to print the request message

Overrides:
toString in class java.lang.Object