public class HttpUtils
extends java.lang.Object
| Constructor and Description |
|---|
HttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static float |
convertQValueToFloat(Buffer buffer,
int startIdx,
int stopIdx) |
static float |
convertQValueToFloat(char[] chars,
int startIdx,
int stopIdx) |
static float |
convertQValueToFloat(DataChunk dc,
int startIdx,
int stopIdx) |
static float |
convertQValueToFloat(java.lang.String string,
int startIdx,
int stopIdx) |
static java.lang.String |
filter(java.lang.String message)
Filter the specified message string for characters that are sensitive in HTML.
|
static void |
longToBuffer(long value,
Buffer buffer)
Converts the specified long as a string representation to the provided buffer.
|
static int |
longToBuffer(long value,
byte[] buffer)
Converts the specified long as a string representation to the provided byte buffer.
|
public static float convertQValueToFloat(DataChunk dc, int startIdx, int stopIdx)
public static float convertQValueToFloat(Buffer buffer, int startIdx, int stopIdx)
public static float convertQValueToFloat(java.lang.String string,
int startIdx,
int stopIdx)
public static float convertQValueToFloat(char[] chars,
int startIdx,
int stopIdx)
public static int longToBuffer(long value,
byte[] buffer)
Long.toString()value - the long to convert.buffer - the buffer to write the conversion result to.public static void longToBuffer(long value,
Buffer buffer)
Long.toString()value - the long to convert.buffer - the buffer to write the conversion result to.public static java.lang.String filter(java.lang.String message)
message - The message string to be filteredCopyright © 2014 Oracle Corporation. All Rights Reserved.