public class BaseHttpRequestOptions extends Object implements HttpRequestOptions
HttpRequestOptions
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<String,String> |
formParameters |
protected com.google.common.collect.Multimap<String,String> |
headers |
protected com.google.common.collect.Multimap<String,String> |
matrixParameters |
protected String |
pathSuffix |
protected String |
payload |
protected com.google.common.collect.Multimap<String,String> |
queryParameters |
Constructor and Description |
---|
BaseHttpRequestOptions() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<String,String> |
buildFormParameters()
Builds form parameters representing options.
|
com.google.common.collect.Multimap<String,String> |
buildMatrixParameters()
Builds matrix parameters representing options.
|
String |
buildPathSuffix() |
com.google.common.collect.Multimap<String,String> |
buildQueryParameters()
Builds query parameters representing options.
|
com.google.common.collect.Multimap<String,String> |
buildRequestHeaders()
Builds headers representing options.
|
String |
buildStringPayload() |
boolean |
equals(Object obj) |
protected String |
getFirstFormOrNull(String string) |
protected String |
getFirstHeaderOrNull(String string) |
protected String |
getFirstMatrixOrNull(String string) |
protected String |
getFirstQueryOrNull(String string) |
int |
hashCode() |
protected void |
replaceHeader(String key,
String value) |
String |
toString() |
public String buildStringPayload()
buildStringPayload
in interface HttpRequestOptions
public com.google.common.collect.Multimap<String,String> buildRequestHeaders()
buildRequestHeaders
in interface HttpRequestOptions
public com.google.common.collect.Multimap<String,String> buildQueryParameters()
buildQueryParameters
in interface HttpRequestOptions
public com.google.common.collect.Multimap<String,String> buildMatrixParameters()
buildMatrixParameters
in interface HttpRequestOptions
public String buildPathSuffix()
buildPathSuffix
in interface HttpRequestOptions
public com.google.common.collect.Multimap<String,String> buildFormParameters()
HttpRequestOptions
buildFormParameters
in interface HttpRequestOptions
Copyright © 2009-2012 jclouds. All Rights Reserved.