Package | Description |
---|---|
org.apache.hc.client5.http.async.methods |
Common HTTP methods and message handlers for the asynchronous I/O model.
|
Modifier and Type | Method and Description |
---|---|
SimpleResponseBuilder |
SimpleResponseBuilder.addHeader(org.apache.hc.core5.http.Header header) |
SimpleResponseBuilder |
SimpleResponseBuilder.addHeader(String name,
String value) |
static SimpleResponseBuilder |
SimpleResponseBuilder.copy(SimpleHttpResponse response)
Copies a source instance into a new one.
|
static SimpleResponseBuilder |
SimpleResponseBuilder.create(int status)
Creates a new SimpleResponseBuilder with the given status.
|
SimpleResponseBuilder |
SimpleResponseBuilder.removeHeader(org.apache.hc.core5.http.Header header) |
SimpleResponseBuilder |
SimpleResponseBuilder.removeHeaders(String name) |
SimpleResponseBuilder |
SimpleResponseBuilder.setBody(byte[] content,
org.apache.hc.core5.http.ContentType contentType)
Sets the body.
|
SimpleResponseBuilder |
SimpleResponseBuilder.setBody(SimpleBody body)
Sets the body.
|
SimpleResponseBuilder |
SimpleResponseBuilder.setBody(String content,
org.apache.hc.core5.http.ContentType contentType)
Sets the body.
|
SimpleResponseBuilder |
SimpleResponseBuilder.setHeader(org.apache.hc.core5.http.Header header) |
SimpleResponseBuilder |
SimpleResponseBuilder.setHeader(String name,
String value) |
SimpleResponseBuilder |
SimpleResponseBuilder.setHeaders(org.apache.hc.core5.http.Header... headers) |
SimpleResponseBuilder |
SimpleResponseBuilder.setVersion(org.apache.hc.core5.http.ProtocolVersion version) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.