| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient.http |
| Modifier and Type | Method and Description |
|---|---|
static ResponseBuilder |
ResponseBuilder.newResponse()
Creates a new builder instance.
|
ResponseBuilder |
ResponseBuilder.withBody(String body)
Set the JSON body received.
|
ResponseBuilder |
ResponseBuilder.withHeaders(Map<String,String> headers)
Set the response headers received.
|
ResponseBuilder |
ResponseBuilder.withStatus(int status)
Set the HTTP response status.
|
Copyright © 2014. All Rights Reserved.