public class ModifyRequest extends Object
Constructor and Description |
---|
ModifyRequest() |
Modifier and Type | Method and Description |
---|---|
static <R extends HttpRequest> |
addFormParam(R request,
String key,
Iterable<?> values) |
static <R extends HttpRequest> |
addFormParam(R request,
String key,
String value) |
static <R extends HttpRequest> |
addQueryParam(R request,
String key,
Iterable<?> values,
UriBuilder builder) |
static <R extends HttpRequest> |
addQueryParam(R request,
String key,
Iterable<?> values,
UriBuilder builder,
char... skips) |
static <R extends HttpRequest> |
addQueryParam(R request,
String key,
Object value,
UriBuilder builder) |
static <R extends HttpRequest> |
addQueryParams(R request,
com.google.common.collect.Multimap<String,String> parameters,
UriBuilder builder) |
static <R extends HttpRequest> |
addQueryParams(R request,
com.google.common.collect.Multimap<String,String> parameters,
UriBuilder builder,
char... skips) |
static <R extends HttpRequest> |
endpoint(R request,
URI endpoint) |
static String |
makeQueryLine(com.google.common.collect.Multimap<String,String> params,
Comparator<Map.Entry<String,String>> sorter,
char... skips) |
static void |
parseKeyValueFromStringToMap(String stringToParse,
com.google.common.collect.Multimap<String,String> map) |
static com.google.common.collect.Multimap<String,String> |
parseQueryToMap(String in) |
static <R extends HttpRequest> |
putFormParams(R request,
com.google.common.collect.Multimap<String,String> params) |
static <R extends HttpRequest> |
putHeaders(R request,
com.google.common.collect.Multimap<String,String> moreHeaders) |
static <R extends HttpRequest> |
removeHeader(R request,
String header) |
static <R extends HttpRequest> |
replaceHeader(R request,
String header,
Iterable<String> values) |
static <R extends HttpRequest> |
replaceHeader(R request,
String header,
String... values) |
static <R extends HttpRequest> |
replaceHeaders(R request,
com.google.common.collect.Multimap<String,String> headers) |
static <R extends HttpRequest> |
replaceMatrixParam(R request,
String name,
Object[] values,
UriBuilder builder) |
static <R extends HttpRequest> |
replaceMatrixParam(R request,
String name,
Object value,
UriBuilder builder) |
public static <R extends HttpRequest> R putHeaders(R request, com.google.common.collect.Multimap<String,String> moreHeaders)
public static <R extends HttpRequest> R endpoint(R request, URI endpoint)
public static <R extends HttpRequest> R replaceHeaders(R request, com.google.common.collect.Multimap<String,String> headers)
public static <R extends HttpRequest> R replaceHeader(R request, String header, String... values)
public static <R extends HttpRequest> R replaceHeader(R request, String header, Iterable<String> values)
public static <R extends HttpRequest> R removeHeader(R request, String header)
public static <R extends HttpRequest> R addQueryParam(R request, String key, Object value, UriBuilder builder)
public static <R extends HttpRequest> R addQueryParam(R request, String key, Iterable<?> values, UriBuilder builder)
public static <R extends HttpRequest> R addQueryParam(R request, String key, Iterable<?> values, UriBuilder builder, char... skips)
public static <R extends HttpRequest> R addQueryParams(R request, com.google.common.collect.Multimap<String,String> parameters, UriBuilder builder)
public static <R extends HttpRequest> R addQueryParams(R request, com.google.common.collect.Multimap<String,String> parameters, UriBuilder builder, char... skips)
public static <R extends HttpRequest> R replaceMatrixParam(R request, String name, Object value, UriBuilder builder)
public static <R extends HttpRequest> R replaceMatrixParam(R request, String name, Object[] values, UriBuilder builder)
public static <R extends HttpRequest> R addFormParam(R request, String key, String value)
public static <R extends HttpRequest> R addFormParam(R request, String key, Iterable<?> values)
public static <R extends HttpRequest> R putFormParams(R request, com.google.common.collect.Multimap<String,String> params)
public static com.google.common.collect.Multimap<String,String> parseQueryToMap(String in)
public static void parseKeyValueFromStringToMap(String stringToParse, com.google.common.collect.Multimap<String,String> map)
Copyright © 2009-2012 jclouds. All Rights Reserved.