| Package | Description |
|---|---|
| io.higgs.http.client |
| Modifier and Type | Method and Description |
|---|---|
JSONRequest |
JSONRequest.addField(String name,
Object value)
Adds a field to the JSON payload that will be sent as the request body
The resulting payload will have all keys added with this method pointed to each value
|
JSONRequest |
HttpRequestBuilder.postJSON(URI uri,
io.netty.handler.codec.http.HttpVersion version,
Reader reader) |
JSONRequest |
HttpRequestBuilder.postJSON(URI uri,
Reader reader)
See
Reader for handling incoming data and the default implementations
PageReader which reads an entire page
LineReader which reads a response line by line
or
FileReader which reads a response and saves it to a file |
JSONRequest |
HttpRequestBuilder.putJSON(URI uri,
io.netty.handler.codec.http.HttpVersion version,
Reader reader) |
JSONRequest |
HttpRequestBuilder.putJSON(URI uri,
Reader reader) |
JSONRequest |
JSONRequest.setData(Object data)
Sets the content of the request.
|
JSONRequest |
JSONRequest.setData(String data)
Sets the content of the request.
|
Copyright © 2012-2015. All Rights Reserved.