| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient | |
| uk.co.visalia.brightpearl.apiclient.request |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
BrightpearlApiClient.get(AppAuthorisation authorisation,
ServiceReadRequestBuilder<T> serviceRequestBuilder)
Convenience shortcut for
BrightpearlApiClient.get(AppAuthorisation, ServiceReadRequest). |
<T> T |
BrightpearlLegacyApiSession.get(ServiceReadRequestBuilder<T> requestBuilder)
Executes a GET or OPTIONs request and returns the parsed response if the request was successful.
|
<T> T |
BrightpearlApiClient.ApiSession.get(ServiceReadRequestBuilder<T> serviceRequestBuilder)
Convenience shortcut for
BrightpearlApiClient.ApiSession.get(ServiceReadRequest). |
| Modifier and Type | Method and Description |
|---|---|
protected ServiceReadRequestBuilder<T> |
ServiceReadRequestBuilder.getThis() |
static <T> ServiceReadRequestBuilder<T> |
ServiceReadRequestBuilder.newGetRequest(ServiceName service,
String path,
Class<T> responseType)
Creates a new GET request builder configured with the URL to call and expected response type.
|
static <T> ServiceReadRequestBuilder<T> |
ServiceReadRequestBuilder.newGetRequest(ServiceName service,
String path,
Type responseType)
Creates a new GET request builder configured with the URL to call and expected response type.
|
static <T> ServiceReadRequestBuilder<T> |
ServiceReadRequestBuilder.newOptionsRequest(ServiceName service,
String path,
Class<T> responseType)
Creates a new OPTIONS request builder configured with the URL to call and expected response type.
|
static <T> ServiceReadRequestBuilder<T> |
ServiceReadRequestBuilder.newOptionsRequest(ServiceName service,
String path,
Type responseType)
Creates a new OPTIONS request builder configured with the URL to call and expected response type.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceReadRequestSetBuilder<T> |
ServiceReadRequestSetBuilder.withAddedRequest(ServiceReadRequestBuilder<T> requestBuilder)
Adds a request to the batch.
|
Copyright © 2014. All Rights Reserved.