Package | Description |
---|---|
com.luciad.net.http |
HTTP Client API.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse.Builder |
HttpResponse.Builder.body(DataEntity body)
Sets the HTTP response content.
|
HttpResponse.Builder |
HttpResponse.Builder.header(HttpHeader header)
Sets the given http header to the set of headers for this response.
|
HttpResponse.Builder |
HttpResponse.Builder.header(String name,
String value)
Sets the given name value pair to the set of headers for this response.
|
static HttpResponse.Builder |
HttpResponse.newBuilder()
Returns the new
HttpResponse builder. |
HttpResponse.Builder |
HttpResponse.Builder.statusCode(int statusCode)
Sets the status code of the HTTP response.
|
Constructor and Description |
---|
Builder(HttpResponse.Builder other) |