| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.apigateway |
| Modifier and Type | Method and Description |
|---|---|
ApiRequest |
ApiRequest.addHeader(String header,
String value)
Sets the header in the request.
|
ApiRequest |
ApiRequest.withBody(byte[] body)
Sets the optional stream containing the payload data from the byte array
to include for this request.
|
ApiRequest |
ApiRequest.withBody(InputStream body)
Sets the optional stream containing the payload data to include for this
request.
|
ApiRequest |
ApiRequest.withBody(String body)
Sets the optional stream containing the payload data from a string
content to include for this request.
|
ApiRequest |
ApiRequest.withHeaders(Map<String,String> headers)
Sets all headers, clearing any existing ones.
|
ApiRequest |
ApiRequest.withHttpMethod(HttpMethodName httpMethod)
Sets the HTTP method (GET, POST, etc) to use when sending this request.
|
ApiRequest |
ApiRequest.withParameter(String name,
String value)
Set parameters with name and value.
|
ApiRequest |
ApiRequest.withParameters(Map<String,String> parameters)
Sets all parameters, clearing any existing values.
|
ApiRequest |
ApiRequest.withPath(String path)
Sets the path to the resource being requested.
|
Copyright © 2019. All rights reserved.