| Modifier and Type | Class and Description |
|---|---|
class |
RestRequest
Wraps a REST request object.
|
class |
RestResponse
Wraps a REST response object
|
| Modifier and Type | Method and Description |
|---|---|
RestData |
RestData.addHeader(String name,
String value)
Adds an HTTP header to the current list.
|
RestData |
RestData.addHeaders(List<RestData.Header> headers)
Adds a collection of HTTP headers to the current list of headers.
|
RestData |
RestData.addHeaders(Map<String,String> headers)
Adds a collection of HTTP headers to the current list of headers.
|
RestData |
RestData.setBody(String body) |
RestData |
RestData.setRawBody(byte[] rawBody) |
RestData |
RestData.setResource(String resource) |
RestData |
RestData.setTransactionId(Long txId) |
Copyright © 2016 smartrics. All Rights Reserved.