public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getRemainingArray(ByteBuffer buffer)
Creates the array of bytes containing the bytes from the position to the limit of the
ByteBuffer. |
static List<String> |
parseHeaderValue(String headerValue)
Parse header value - splits multiple values (quoted, unquoted) separated by
comma.
|
public static List<String> parseHeaderValue(String headerValue)
headerValue - string containing header values.public static byte[] getRemainingArray(ByteBuffer buffer)
ByteBuffer.buffer - where the bytes are taken from.ByteBuffer.Copyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.