public final class BocasResources extends NotInstantiable
| Modifier and Type | Field and Description |
|---|---|
static String |
CATALOG
Catalog resource.
|
static String |
HASH
Hash function resource.
|
static String |
KEY
Key query parameter.
|
static Splitter |
KEY_SPLITTER
Key response splitter.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
checkKey(ByteString key)
Turns a non-null key into a string.
|
static String |
iterable2String(Iterable<ByteString> keys)
Turns a collection of keys into a string.
|
static List<ByteString> |
response2List(String response)
Turns a text/plain response into a list of keys.
|
public static final Splitter KEY_SPLITTER
public static final String KEY
public static final String CATALOG
public static final String HASH
public static String checkKey(ByteString key)
public static String iterable2String(Iterable<ByteString> keys)
public static List<ByteString> response2List(@Nullable String response)
BocasException - if unable to perform the conversion.Copyright © 2015 Derquinse Projects. All rights reserved.