public final class GeneratedHttpRequest extends HttpRequest
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedHttpRequest.Builder |
NON_PAYLOAD_METHODS
headers
payload
Modifier | Constructor and Description |
---|---|
protected |
GeneratedHttpRequest(String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers,
Payload payload,
Iterable<HttpRequestFilter> filters,
Invocation invocation,
com.google.common.base.Optional<Invocation> caller) |
Modifier and Type | Method and Description |
---|---|
static GeneratedHttpRequest.Builder |
builder() |
com.google.common.base.Optional<Invocation> |
getCaller() |
Invocation |
getInvocation()
what was interpreted to create this request
|
GeneratedHttpRequest.Builder |
toBuilder() |
equals, getEndpoint, getFilters, getMethod, getRequestLine, hashCode, string
getFirstHeaderOrNull, getHeaders, toString
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload, setPayload
protected GeneratedHttpRequest(String method, URI endpoint, com.google.common.collect.Multimap<String,String> headers, @Nullable Payload payload, Iterable<HttpRequestFilter> filters, Invocation invocation, com.google.common.base.Optional<Invocation> caller)
public static GeneratedHttpRequest.Builder builder()
public GeneratedHttpRequest.Builder toBuilder()
toBuilder
in class HttpRequest
public Invocation getInvocation()
public com.google.common.base.Optional<Invocation> getCaller()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.