public class HttpRequest extends HttpMessage
HttpCommandExecutorService
Modifier and Type | Class and Description |
---|---|
static class |
HttpRequest.Builder<T extends HttpRequest.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
static Set<String> |
NON_PAYLOAD_METHODS |
headers
payload
Modifier | Constructor and Description |
---|---|
protected |
HttpRequest(String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers,
Payload payload,
Iterable<HttpRequestFilter> filters) |
Modifier and Type | Method and Description |
---|---|
static HttpRequest.Builder<?> |
builder() |
boolean |
equals(Object obj) |
URI |
getEndpoint() |
List<HttpRequestFilter> |
getFilters() |
String |
getMethod()
We cannot return an enum, as per specification custom methods are allowed.
|
String |
getRequestLine() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
HttpRequest.Builder<?> |
toBuilder() |
getFirstHeaderOrNull, getHeaders, toString
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload
public static HttpRequest.Builder<?> builder()
public HttpRequest.Builder<?> toBuilder()
toBuilder
in class HttpMessage
public String getRequestLine()
public String getMethod()
public URI getEndpoint()
public List<HttpRequestFilter> getFilters()
public int hashCode()
hashCode
in class HttpMessage
public boolean equals(Object obj)
equals
in class HttpMessage
protected com.google.common.base.Objects.ToStringHelper string()
string
in class HttpMessage
Copyright © 2009-2013 jclouds. All Rights Reserved.