| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient | |
| uk.co.visalia.brightpearl.apiclient.multimessage | |
| uk.co.visalia.brightpearl.apiclient.request |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
BrightpearlApiClient.execute(AppAuthorisation authorisation,
ServiceWriteRequestBuilder<T> serviceRequestBuilder)
Convenience shortcut for
BrightpearlApiClient.execute(AppAuthorisation, ServiceWriteRequest). |
<T> T |
BrightpearlLegacyApiSession.execute(ServiceWriteRequestBuilder<T> requestBuilder)
Executes a write (PUT, POST, DELETE) request and returns the parsed response if the request was successful.
|
<T> T |
BrightpearlApiClient.ApiSession.execute(ServiceWriteRequestBuilder<T> serviceRequestBuilder)
Convenience shortcut for
BrightpearlApiClient.ApiSession.execute(uk.co.visalia.brightpearl.apiclient.request.ServiceWriteRequest). |
| Modifier and Type | Method and Description |
|---|---|
MultiRequestBuilder |
MultiRequestBuilder.withAddedRequest(ServiceWriteRequestBuilder requestBuilder)
Add a request to the multimessage batch.
|
| Modifier and Type | Method and Description |
|---|---|
protected ServiceWriteRequestBuilder<T> |
ServiceWriteRequestBuilder.getThis() |
static <T> ServiceWriteRequestBuilder<T> |
ServiceWriteRequestBuilder.newDeleteRequest(ServiceName service,
String path,
Class<T> responseType)
Creates a new DELETE request builder configured with the URL to call and expected response type.
|
static <T> ServiceWriteRequestBuilder<T> |
ServiceWriteRequestBuilder.newDeleteRequest(ServiceName service,
String path,
Type responseType)
Creates a new DELETE request builder configured with the URL to call and expected response type.
|
static <T> ServiceWriteRequestBuilder<T> |
ServiceWriteRequestBuilder.newPostRequest(ServiceName service,
String path,
Object entity,
Class<T> responseType)
Creates a new POST request builder configured with the URL to call and expected response type.
|
static <T> ServiceWriteRequestBuilder<T> |
ServiceWriteRequestBuilder.newPostRequest(ServiceName service,
String path,
Object entity,
Type responseType)
Creates a new POST request builder configured with the URL to call and expected response type.
|
static <T> ServiceWriteRequestBuilder<T> |
ServiceWriteRequestBuilder.newPutRequest(ServiceName service,
String path,
Object entity,
Class<T> responseType)
Creates a new PUT request builder configured with the URL to call and expected response type.
|
static <T> ServiceWriteRequestBuilder<T> |
ServiceWriteRequestBuilder.newPutRequest(ServiceName service,
String path,
Object entity,
Type responseType)
Creates a new PUT request builder configured with the URL to call and expected response type.
|
Copyright © 2014. All Rights Reserved.