Implementations are expected to be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
| public void | pushPromise(HttpRequest
the request message header used as a promise. promise, AsyncPushProducer the push response message producer. responseProducer, HttpContext the actual execution context. context)Pushes a request message head through this channel as a promise to deliver a response message. |
| public void | sendInformation(HttpResponse
an intermediate (1xx) HTTP response. response, HttpContext the actual execution context. context)Sends an intermediate informational HTTP response through this channel. |
| public void | sendResponse(HttpResponse
a final (non 1xx) HTTP response response, EntityDetails the response entity details or entityDetails, HttpContext null if the response
does not enclose an entity.the actual execution context. context)Sends a final HTTP response through this channel. |
| pushPromise | back to summary |
|---|---|
| public void pushPromise(HttpRequest promise, AsyncPushProducer responseProducer, HttpContext context) throws HttpException, IOException Pushes a request message head through this channel as a promise to deliver a response message.
| |
| sendInformation | back to summary |
|---|---|
| public void sendInformation(HttpResponse response, HttpContext context) throws HttpException, IOException Sends an intermediate informational HTTP response through this channel.
| |
| sendResponse | back to summary |
|---|---|
| public void sendResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context) throws HttpException, IOException Sends a final HTTP response through this channel.
| |