public class RequestOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static RequestOptions |
empty |
| Constructor and Description |
|---|
RequestOptions() |
| Modifier and Type | Method and Description |
|---|---|
RequestOptions |
addExtraHeader(String key,
String value) |
RequestOptions |
addExtraQueryParameters(String key,
String value) |
Map<String,String> |
generateExtraHeaders() |
Map<String,String> |
generateExtraQueryParams() |
String |
getForwardedFor() |
RequestOptions |
setForwardedFor(String forwardedFor) |
String |
toString() |
public static final RequestOptions empty
public String getForwardedFor()
public RequestOptions setForwardedFor(String forwardedFor)
public RequestOptions addExtraHeader(String key, String value)
public RequestOptions addExtraQueryParameters(String key, String value)
Copyright © 2017. All rights reserved.