HTTPClient
Interface HTTPClientModuleConstants

All Known Subinterfaces:
HTTPClientModule
All Known Implementing Classes:
CookieModule, HTTPConnection, HTTPResponse

public interface HTTPClientModuleConstants

This interface defines the return codes that the handlers in modules may return.

Since:
V0.3
See Also:
HTTPClientModule

Field Summary
static int REQ_CONTINUE
          continue processing the request
static int REQ_NEWCON_RST
          using a new HTTPConnection, restart request processing
static int REQ_NEWCON_SND
          using a new HTTPConnection, send request immediately
static int REQ_RESPONSE
          response generated; go to phase 2
static int REQ_RESTART
          restart request processing with first module
static int REQ_RETURN
          response generated; return response immediately (no processing)
static int REQ_SHORTCIRC
          stop processing and send the request
static int RSP_CONTINUE
          continue processing response
static int RSP_NEWCON_REQ
          go to phase 1 using a new HTTPConnection
static int RSP_NEWCON_SND
          send request using a new HTTPConnection
static int RSP_REQUEST
          new request generated; go to phase 1
static int RSP_RESTART
          restart response processing with first module
static int RSP_SEND
          new request generated; send request immediately (no processing)
static int RSP_SHORTCIRC
          stop processing and return response
 

Field Detail

REQ_CONTINUE

static final int REQ_CONTINUE
continue processing the request

See Also:
Constant Field Values

REQ_RESTART

static final int REQ_RESTART
restart request processing with first module

See Also:
Constant Field Values

REQ_SHORTCIRC

static final int REQ_SHORTCIRC
stop processing and send the request

See Also:
Constant Field Values

REQ_RESPONSE

static final int REQ_RESPONSE
response generated; go to phase 2

See Also:
Constant Field Values

REQ_RETURN

static final int REQ_RETURN
response generated; return response immediately (no processing)

See Also:
Constant Field Values

REQ_NEWCON_RST

static final int REQ_NEWCON_RST
using a new HTTPConnection, restart request processing

See Also:
Constant Field Values

REQ_NEWCON_SND

static final int REQ_NEWCON_SND
using a new HTTPConnection, send request immediately

See Also:
Constant Field Values

RSP_CONTINUE

static final int RSP_CONTINUE
continue processing response

See Also:
Constant Field Values

RSP_RESTART

static final int RSP_RESTART
restart response processing with first module

See Also:
Constant Field Values

RSP_SHORTCIRC

static final int RSP_SHORTCIRC
stop processing and return response

See Also:
Constant Field Values

RSP_REQUEST

static final int RSP_REQUEST
new request generated; go to phase 1

See Also:
Constant Field Values

RSP_SEND

static final int RSP_SEND
new request generated; send request immediately (no processing)

See Also:
Constant Field Values

RSP_NEWCON_REQ

static final int RSP_NEWCON_REQ
go to phase 1 using a new HTTPConnection

See Also:
Constant Field Values

RSP_NEWCON_SND

static final int RSP_NEWCON_SND
send request using a new HTTPConnection

See Also:
Constant Field Values