public static class HttpSender.Request
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpSender.Request.Builder |
Constructor and Description |
---|
Request(java.net.URL url,
byte[] entity,
HttpSender.Method method,
java.util.Map<java.lang.String,java.lang.String> requestHeaders) |
Modifier and Type | Method and Description |
---|---|
static HttpSender.Request.Builder |
build(java.lang.String uri,
HttpSender sender) |
byte[] |
getEntity() |
HttpSender.Method |
getMethod() |
java.util.Map<java.lang.String,java.lang.String> |
getRequestHeaders() |
java.net.URL |
getUrl() |
java.lang.String |
toString() |
public Request(java.net.URL url, byte[] entity, HttpSender.Method method, java.util.Map<java.lang.String,java.lang.String> requestHeaders)
public java.net.URL getUrl()
public byte[] getEntity()
public HttpSender.Method getMethod()
public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
public static HttpSender.Request.Builder build(java.lang.String uri, HttpSender sender)
public java.lang.String toString()
toString
in class java.lang.Object