Package | Description |
---|---|
net.jadler |
Modifier and Type | Method and Description |
---|---|
Request.Builder |
Request.Builder.body(byte[] body)
Sets the request body.
|
static Request.Builder |
Request.builder() |
Request.Builder |
Request.Builder.encoding(Charset encoding)
Sets the request encoding.
|
Request.Builder |
Request.Builder.header(String name,
String value)
Adds a request header to the constructed request instance.
|
Request.Builder |
Request.Builder.headers(KeyValues headers)
Sets the request headers (all previously defined headers will be lost).
|
Request.Builder |
Request.Builder.method(String method)
Sets the request method.
|
Request.Builder |
Request.Builder.requestURI(URI requestURI)
Sets the request URI.
|
Copyright © 2016. All Rights Reserved.