| Modifier and Type | Field and Description |
|---|---|
| private static final float[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static DataChunk | |
| public static String | |
| public static DataChunk | |
| public static int | longToBuffer(long
the long to convert. value, final byte[] the buffer to write the conversion result to. buffer)Converts the specified long as a string representation to the provided byte buffer. |
| public static void | longToBuffer(long
the long to convert. value, final Buffer the buffer to write the conversion result to. buffer)Converts the specified long as a string representation to the provided buffer. |
| MULTIPLIERS | back to summary |
|---|---|
| private static final float[] MULTIPLIERS | |
| HttpUtils | back to summary |
|---|---|
| public HttpUtils() | |
| composeContentType | back to summary |
|---|---|
| public static String composeContentType(final String contentType, final String characterEncoding) | |
| convertQValueToFloat | back to summary |
|---|---|
| public static float convertQValueToFloat(final DataChunk dc, final int startIdx, final int stopIdx) | |
| convertQValueToFloat | back to summary |
|---|---|
| public static float convertQValueToFloat(final Buffer buffer, final int startIdx, final int stopIdx) | |
| convertQValueToFloat | back to summary |
|---|---|
| public static float convertQValueToFloat(final String string, final int startIdx, final int stopIdx) | |
| convertQValueToFloat | back to summary |
|---|---|
| public static float convertQValueToFloat(final char[] chars, final int startIdx, final int stopIdx) | |
| filter | back to summary |
|---|---|
| public static DataChunk filter(DataChunk message) Filter the specified message string for characters that are sensitive in HTML. This avoids potential attacks caused by including JavaScript codes in the request URL that is often reported in error messages.
| |
| filter | back to summary |
|---|---|
| public static String filter(final String message) Filter the specified message string for characters that are sensitive in HTML. This avoids potential attacks caused by including JavaScript codes in the request URL that is often reported in error messages.
| |
| filterNonPrintableCharacters | back to summary |
|---|---|
| public static DataChunk filterNonPrintableCharacters(DataChunk message) Filter non-printable ASCII characters. | |
| longToBuffer | back to summary |
|---|---|
| public static int longToBuffer(long value, final byte[] buffer) Converts the specified long as a string representation to the provided byte buffer.
This code is based off
| |
| longToBuffer | back to summary |
|---|---|
| public static void longToBuffer(long value, final Buffer buffer) Converts the specified long as a string representation to the provided buffer.
This code is based off
| |