| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient.multimessage |
| Modifier and Type | Method and Description |
|---|---|
static <T> ServiceResponseBuilder<T> |
ServiceResponseBuilder.newServiceResponse()
Returns a new builder instance used to create immutable
MultiResponse instances |
ServiceResponseBuilder<T> |
ServiceResponseBuilder.withException(RuntimeException exception)
Set the exception thrown based on service errors in the response or an error parsing the JSON.
|
ServiceResponseBuilder<T> |
ServiceResponseBuilder.withResponse(T response)
Sets the entity received in the response element of the JSON response body.
|
ServiceResponseBuilder<T> |
ServiceResponseBuilder.withRuid(String ruid)
Set the unique ID of the request this is a response to.
|
ServiceResponseBuilder<T> |
ServiceResponseBuilder.withStatus(int status)
Set the HTTP status code returned for this individual response.
|
Copyright © 2014. All Rights Reserved.