| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient.http |
| Modifier and Type | Method and Description |
|---|---|
static RequestBuilder |
RequestBuilder.newRequest()
Creates a new builder instance.
|
RequestBuilder |
RequestBuilder.withBody(String body)
Add a JSON body to a PUT or POST request.
|
RequestBuilder |
RequestBuilder.withHeaders(Map<String,String> headers)
Sets the map of unencoded headers to be added to the request.
|
RequestBuilder |
RequestBuilder.withMethod(Method method)
Sets the HTTP method of the request.
|
RequestBuilder |
RequestBuilder.withParameters(Map<String,String> parameters)
Sets the map of unencoded querystring parameters to be added to the URL.
|
RequestBuilder |
RequestBuilder.withUrl(String url)
Sets the full URL of the resource.
|
Copyright © 2014. All Rights Reserved.