public abstract class API extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BATCH_ENCODING |
static String |
CHARSET |
protected RestClient |
client |
static long |
NO_LIMIT |
static String |
PATH_SPLITOR |
| Constructor and Description |
|---|
API(RestClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkLimit(long value,
String name) |
protected static void |
checkOffset(long value) |
String |
path() |
protected void |
path(String path) |
protected void |
path(String pathTemplate,
Object... args) |
protected abstract String |
type() |
public static final String CHARSET
public static final String BATCH_ENCODING
public static final long NO_LIMIT
public static final String PATH_SPLITOR
protected final RestClient client
public API(RestClient client)
Copyright © 2023 The Apache Software Foundation. All rights reserved.