org.acplt.oncrpc.web
Interface HttpTunnelConstants


public abstract interface HttpTunnelConstants

A collection of constants generally useful when working with HTTP tunnels for the ONC/RPC protocol.


Field Summary
static int BYTES_PER_LINE
          Amount of octets (binary data) which can be encoded in a single plain ASCII line.
static int ENCODED_BYTES_PER_LINE
          Amount of plain ASCII characters per line for representing the encoded octets.
static int ENCODED_BYTES_PER_LINE_CRLF
          Amount of plain ASCII characters per line for representing the encoded octets.
static int LINES_PER_BLOCK
          Amount of lines that should be processed at once using a buffer.
static java.lang.String TUNNEL_PROTO_ID
          Protocol identifier of ONC/RPC HTTP tunnel.
 

Field Detail

BYTES_PER_LINE

public static final int BYTES_PER_LINE
Amount of octets (binary data) which can be encoded in a single plain ASCII line. This amount must always be a multiple of three. This is demanded by the base64 encoding scheme, which encodes every three octets using four plain ASCII characters.

ENCODED_BYTES_PER_LINE

public static final int ENCODED_BYTES_PER_LINE
Amount of plain ASCII characters per line for representing the encoded octets. This amount is derived from the BYTES_PER_LINE setting.

ENCODED_BYTES_PER_LINE_CRLF

public static final int ENCODED_BYTES_PER_LINE_CRLF
Amount of plain ASCII characters per line for representing the encoded octets. This amount is derived from the BYTES_PER_LINE setting and also accounts for the line termination (CRLF).

LINES_PER_BLOCK

public static final int LINES_PER_BLOCK
Amount of lines that should be processed at once using a buffer.

TUNNEL_PROTO_ID

public static final java.lang.String TUNNEL_PROTO_ID
Protocol identifier of ONC/RPC HTTP tunnel.