|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.mimo.netty.handler.codec.icap.IcapCodecUtil
public final class IcapCodecUtil
This Codec class provides all required special characters such as space and linefeed. It also provides validation methods for icap header name and value validation.
Field Summary | |
---|---|
static Charset |
ASCII_CHARSET
|
static byte |
COLON
Colon ':' |
static byte |
CR
Carriage return |
static byte[] |
CRLF
carriage return line feed |
static String |
ENCAPSULATION_ELEMENT_NULLBODY
|
static String |
ENCAPSULATION_ELEMENT_OPTBODY
|
static String |
ENCAPSULATION_ELEMENT_REQBODY
|
static String |
ENCAPSULATION_ELEMENT_REQHDR
|
static String |
ENCAPSULATION_ELEMENT_RESBODY
|
static String |
ENCAPSULATION_ELEMENT_RESHDR
|
static Byte[] |
IEOF_SEQUENCE
Preview early termination sequence 0; ieof |
static String |
IEOF_SEQUENCE_STRING
|
static byte |
LF
Line feed character |
static byte[] |
NATIVE_IEOF_SEQUENCE
|
static byte |
SPACE
Space |
Method Summary | |
---|---|
static void |
validateHeaderName(String name)
Valiation method for Icap header names. |
static void |
validateHeaderValue(String value)
Validation method for Icap header values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Byte[] IEOF_SEQUENCE
public static final byte[] NATIVE_IEOF_SEQUENCE
public static final String IEOF_SEQUENCE_STRING
public static final byte SPACE
public static final byte CR
public static final byte LF
public static final byte[] CRLF
public static final byte COLON
public static final Charset ASCII_CHARSET
public static final String ENCAPSULATION_ELEMENT_REQHDR
public static final String ENCAPSULATION_ELEMENT_RESHDR
public static final String ENCAPSULATION_ELEMENT_REQBODY
public static final String ENCAPSULATION_ELEMENT_RESBODY
public static final String ENCAPSULATION_ELEMENT_OPTBODY
public static final String ENCAPSULATION_ELEMENT_NULLBODY
Method Detail |
---|
public static void validateHeaderName(String name)
name
- to be validatedpublic static void validateHeaderValue(String value)
value
- to be validated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |