public final class Request extends Object
Client in a generic form that can be supported
by any implementation. Immutable instances are created using RequestBuilder.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBody()
JSON request body for inclusion in PUT and POST requests.
|
Map<String,String> |
getHeaders()
HTTP headers for addition to the request.
|
Method |
getMethod()
The HTTP method.
|
Map<String,String> |
getParameters()
Parameters for addition to the URL querystring.
|
String |
getUrl()
The full URL of a Brightpearl API resource.
|
int |
hashCode() |
String |
toString() |
public Method getMethod()
public String getUrl()
public String getBody()
public Map<String,String> getParameters()
Client is
responsible for encoding them.public Map<String,String> getHeaders()
Client is responsible for encoding them.Copyright © 2014. All Rights Reserved.