| Modifier and Type | Method and Description |
|---|---|
void |
pushPromise(HttpRequest promise,
AsyncPushProducer responseProducer,
HttpContext context)
Pushes a request message head through this channel as a promise to deliver
a response message.
|
void |
sendInformation(HttpResponse response,
HttpContext context)
Sends an intermediate informational HTTP response through this channel.
|
void |
sendResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext context)
Sends a final HTTP response through this channel.
|
void sendInformation(HttpResponse response, HttpContext context) throws HttpException, IOException
response - an intermediate (1xx) HTTP response.context - the actual execution context.HttpException - in case of an HTTP protocol violation.IOException - in case of an I/O error.void sendResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context) throws HttpException, IOException
response - a final (non 1xx) HTTP responseentityDetails - the response entity details or null if the response
does not enclose an entity.context - the actual execution context.HttpException - in case of an HTTP protocol violation.IOException - in case of an I/O error.void pushPromise(HttpRequest promise, AsyncPushProducer responseProducer, HttpContext context) throws HttpException, IOException
promise - the request message header used as a promise.responseProducer - the push response message producer.context - the actual execution context.HttpException - in case of an HTTP protocol violation.IOException - in case of an I/O error.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.