public class HttpUtilities extends Object
| Constructor and Description |
|---|
HttpUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static int |
computeLength(CharSequence str)
Compute length.
|
static CString |
getCString(io.netty.buffer.ByteBuf buffer)
Gets the c string.
|
static void |
putString(io.netty.buffer.ByteBuf byteBuf,
CharSequence str)
Put string.
|
static String |
toString(io.netty.buffer.ByteBuf byteBuf)
To string.
|
public static CString getCString(io.netty.buffer.ByteBuf buffer)
buffer - the bufferpublic static int computeLength(CharSequence str)
str - the strpublic static void putString(io.netty.buffer.ByteBuf byteBuf,
CharSequence str)
byteBuf - the byte bufstr - the strpublic static String toString(io.netty.buffer.ByteBuf byteBuf)
byteBuf - the byte bufCopyright © 2017 The CLARUS Consortium. All rights reserved.