public interface Request
Request r = new RequestBuilder().setUrl("url")
.setRealm((new Realm.RealmBuilder()).setPrincipal(user)
.setPassword(admin)
.setRealmName("MyRealm")
.setScheme(Realm.AuthScheme.DIGEST).build());
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getAddress()
Return the InetAddress to override
|
BodyGenerator |
getBodyGenerator()
Return the current request's body generator.
|
List<Part> |
getBodyParts()
Return the current
Part |
ByteBuffer |
getByteBufferData()
Return the current request's body as a ByteBuffer
|
byte[] |
getByteData()
Return the current request's body as a byte array
|
ChannelPoolPartitioning |
getChannelPoolPartitioning() |
Charset |
getCharset()
Return the charset value used when decoding the request's body.
|
List<byte[]> |
getCompositeByteData() |
long |
getContentLength()
Return the current size of the content-lenght header based on the body's size.
|
List<Cookie> |
getCookies()
Return cookies.
|
File |
getFile()
Return the
File to upload. |
Boolean |
getFollowRedirect()
Return follow redirect
|
List<Param> |
getFormParams()
Return the current form parameters.
|
io.netty.handler.codec.http.HttpHeaders |
getHeaders()
Return the current set of Headers.
|
InetAddress |
getLocalAddress() |
String |
getMethod()
Return the request's method name (GET, POST, etc.)
|
NameResolver<InetAddress> |
getNameResolver() |
ProxyServer |
getProxyServer()
Return the
ProxyServer |
List<Param> |
getQueryParams()
Return the query params.
|
long |
getRangeOffset()
Return the HTTP Range header value, or
|
Realm |
getRealm()
Return the
Realm |
int |
getRequestTimeout()
Overrides the config default value
|
InputStream |
getStreamData()
Return the current request's body as an InputStream
|
String |
getStringData()
Return the current request's body as a string
|
Uri |
getUri() |
String |
getUrl() |
String |
getVirtualHost()
Return the virtual host value.
|
String getMethod()
Uri getUri()
String getUrl()
InetAddress getAddress()
InetAddress getLocalAddress()
io.netty.handler.codec.http.HttpHeaders getHeaders()
HttpHeaders contains headers.byte[] getByteData()
List<byte[]> getCompositeByteData()
String getStringData()
ByteBuffer getByteBufferData()
InputStream getStreamData()
BodyGenerator getBodyGenerator()
long getContentLength()
List<Param> getFormParams()
String getVirtualHost()
ProxyServer getProxyServer()
ProxyServerProxyServerBoolean getFollowRedirect()
Boolean.TRUE to follow redirect, Boolean.FALSE if NOT to follow whatever the client config, null otherwise.int getRequestTimeout()
long getRangeOffset()
Charset getCharset()
ChannelPoolPartitioning getChannelPoolPartitioning()
NameResolver<InetAddress> getNameResolver()
Copyright © 2016. All Rights Reserved.