| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | |
| pack-priv static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Buffer | |
| private static int | |
| public static int | |
| public static int | |
| private static void | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static int | |
| public static Buffer | |
| public static int | |
| public static boolean | Returns: true if the passed symbol code represents a non-printable US-ASCII symbol in range [Integer.MIN_VALUE; 9) U (9; 31] U [127; Integer.MAX_VALUE]the symbol code to check ub)Returns true if the passed symbol code represents a non-printable US-ASCII symbol in range [Integer.MIN_VALUE; 9) U (9; 31] U [127; Integer.MAX_VALUE]. |
| public static boolean | |
| public static boolean | |
| public static void | |
| public static Buffer | put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte[] tempBuffer, final DataChunk chunk)
|
| public static Buffer | put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte[] tempBuffer, final String s)
|
| public static Buffer | |
| public static Buffer | put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte[] array, final int off, final int len)
|
| public static Buffer | |
| public static Buffer | |
| public static Buffer | resizeBuffer(final MemoryManager<E extends Buffer> memoryManager, final Buffer buffer, final int grow)
|
| public static int | |
| public static int | |
| public static byte[] | Returns: a converted byte array, where all the char sequence's unprintable US-ASCII symbols have been replaced with spaces (' ')Converts the a |
| public static byte[] | Returns: the passed dstArraythe byte array to be used to convert the CharSequence into dstArray, final int the offset in the byte array, where the serialization will be started arrayOffs)Serializes the passed |
| DEC | back to summary |
|---|---|
| private static final int[] DEC | |
| EMPTY_ARRAY | back to summary |
|---|---|
| pack-priv static final byte[] EMPTY_ARRAY | |
| HttpCodecUtils | back to summary |
|---|---|
| public HttpCodecUtils() | |
| checkAndResizeIfNeeded | back to summary |
|---|---|
| private static Buffer checkAndResizeIfNeeded(MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, int length) | |
| checkCRLF | back to summary |
|---|---|
| private static int checkCRLF(HttpCodecFilter. | |
| checkEOL | back to summary |
|---|---|
| public static int checkEOL(final HttpCodecFilter. | |
| checkEOL | back to summary |
|---|---|
| public static int checkEOL(final HttpCodecFilter. | |
| fastAsciiEncode | back to summary |
|---|---|
| private static void fastAsciiEncode(final String s, byte[] tempBuffer, final Buffer dstBuffer) | |
| findEOL | back to summary |
|---|---|
| public static boolean findEOL(final HttpCodecFilter. | |
| findEOL | back to summary |
|---|---|
| public static boolean findEOL(final HttpCodecFilter. | |
| findSpace | back to summary |
|---|---|
| public static int findSpace(final Buffer input, int offset, final int packetLimit) | |
| findSpace | back to summary |
|---|---|
| public static int findSpace(final byte[] input, int offset, final int end, final int packetLimit) | |
| getLongAsBuffer | back to summary |
|---|---|
| public static Buffer getLongAsBuffer(final MemoryManager<E extends Buffer> memoryManager, final long length) | |
| indexOf | back to summary |
|---|---|
| public static int indexOf(final Buffer input, int offset, final byte b, final int packetLimit) | |
| isNonPrintableUsAscii | back to summary |
|---|---|
| public static boolean isNonPrintableUsAscii(final int ub) Returns true if the passed symbol code represents a non-printable US-ASCII symbol in range [Integer.MIN_VALUE; 9) U (9; 31] U [127; Integer.MAX_VALUE].
| |
| isNotSpaceAndTab | back to summary |
|---|---|
| public static boolean isNotSpaceAndTab(final byte b) | |
| isSpaceOrTab | back to summary |
|---|---|
| public static boolean isSpaceOrTab(final byte b) | |
| parseHost | back to summary |
|---|---|
| public static void parseHost(final DataChunk hostDC, final DataChunk serverNameDC, final HttpRequestPacket request) | |
| put | back to summary |
|---|---|
| public static Buffer put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte[] tempBuffer, final DataChunk chunk) | |
| put | back to summary |
|---|---|
| public static Buffer put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte[] tempBuffer, final String s) | |
| put | back to summary |
|---|---|
| public static Buffer put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte[] array) | |
| put | back to summary |
|---|---|
| public static Buffer put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte[] array, final int off, final int len) | |
| put | back to summary |
|---|---|
| public static Buffer put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final Buffer buffer) | |
| put | back to summary |
|---|---|
| public static Buffer put(final MemoryManager<E extends Buffer> memoryManager, Buffer dstBuffer, final byte value) | |
| resizeBuffer | back to summary |
|---|---|
public static Buffer resizeBuffer(final MemoryManager<E extends Buffer> memoryManager, final Buffer buffer, final int grow)
| |
| skipSpaces | back to summary |
|---|---|
| public static int skipSpaces(final Buffer input, int offset, final int packetLimit) | |
| skipSpaces | back to summary |
|---|---|
| public static int skipSpaces(final byte[] input, int offset, final int end, final int packetLimit) | |
| toCheckedByteArray | back to summary |
|---|---|
| public static byte[] toCheckedByteArray(final CharSequence s) Converts the a
| |
| toCheckedByteArray | back to summary |
|---|---|
| public static byte[] toCheckedByteArray(final CharSequence s, final byte[] dstArray, final int arrayOffs) Serializes the passed
| |