| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient.request |
| Modifier and Type | Method and Description |
|---|---|
static <T> ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.newReadRequestSet()
Creates a new paged GET request builder configured with the URL to call and expected response type.
|
static <T> ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.newReadRequestSet(Class<T> responseType)
Creates a new paged GET request builder configured with the URL to call and expected response type.
|
ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.withAddedParam(String name,
String value)
Add an additional unencoded querystring parameter to be added to every request, preserving the existing set but
overwriting any param with the same name.
|
ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.withAddedParams(Map<String,String> params)
Add additional unencoded querystring parameters to be added to every request, preserving the existing set but
overwriting any param with the same names.
|
ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.withAddedRequest(ServiceReadRequest<T> request)
Adds a request to the batch.
|
ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.withAddedRequest(ServiceReadRequestBuilder<T> requestBuilder)
Adds a request to the batch.
|
ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.withAddedRequests(Set<ServiceReadRequest<T>> requests)
Adds a set of requests to the batch.
|
ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.withParams(Map<String,String> params)
Add querystring parameters to every request, replacing any previously set.
|
Copyright © 2014. All Rights Reserved.