Package io.airlift.http.client
Class Request
- java.lang.Object
-
- io.airlift.http.client.Request
-
public final class Request extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Request.Builderbuilder()booleanequals(Object o)BodyGeneratorgetBodyGenerator()StringgetHeader(String name)com.google.common.collect.ListMultimap<String,String>getHeaders()StringgetMethod()URIgetUri()inthashCode()booleanisFollowRedirects()booleanisPreserveAuthorizationOnRedirect()StringtoString()
-
-
-
Constructor Detail
-
Request
@Deprecated public Request(URI uri, String method, com.google.common.collect.ListMultimap<String,String> headers, BodyGenerator bodyGenerator)
Deprecated.Usebuilder()to construct this.
-
-
Method Detail
-
builder
public static Request.Builder builder()
-
getUri
public URI getUri()
-
getMethod
public String getMethod()
-
getBodyGenerator
public BodyGenerator getBodyGenerator()
-
isFollowRedirects
public boolean isFollowRedirects()
-
isPreserveAuthorizationOnRedirect
public boolean isPreserveAuthorizationOnRedirect()
-
-