@Beta public final class Request extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Request.Builder |
| Constructor and Description |
|---|
Request(URI uri,
String method,
com.google.common.collect.ListMultimap<String,String> headers,
BodyGenerator bodyGenerator)
Deprecated.
Use
builder() to construct this. |
| Modifier and Type | Method and Description |
|---|---|
static Request.Builder |
builder() |
boolean |
equals(Object o) |
BodyGenerator |
getBodyGenerator() |
String |
getHeader(String name) |
com.google.common.collect.ListMultimap<String,String> |
getHeaders() |
String |
getMethod() |
URI |
getUri() |
int |
hashCode() |
boolean |
isFollowRedirects() |
boolean |
isPreserveAuthorizationOnRedirect() |
String |
toString() |
@Deprecated public Request(URI uri, String method, com.google.common.collect.ListMultimap<String,String> headers, BodyGenerator bodyGenerator)
builder() to construct this.public static Request.Builder builder()
public URI getUri()
public String getMethod()
public BodyGenerator getBodyGenerator()
public boolean isFollowRedirects()
public boolean isPreserveAuthorizationOnRedirect()
Copyright © 2010–2020 Airlift. All rights reserved.