public static interface AsyncServerRequestHandler.ResponseTrigger
| Modifier and Type | Method and Description | 
|---|---|
| void | pushPromise(HttpRequest promise,
           HttpContext context,
           AsyncPushProducer responseProducer)Pushes a request message head as a promise to deliver a response message. | 
| void | sendInformation(HttpResponse response,
               HttpContext context)Sends an intermediate informational HTTP response to the client. | 
| void | submitResponse(AsyncResponseProducer responseProducer,
              HttpContext context)Sends a final HTTP response to the client. | 
void sendInformation(HttpResponse response, HttpContext context) throws HttpException, IOException
response - the intermediate (1xx) HTTP responsecontext - the actual execution context.HttpExceptionIOExceptionvoid submitResponse(AsyncResponseProducer responseProducer, HttpContext context) throws HttpException, IOException
responseProducer - the HTTP response message producer.context - the actual execution context.HttpExceptionIOExceptionvoid pushPromise(HttpRequest promise, HttpContext context, AsyncPushProducer responseProducer) throws HttpException, IOException
promise - the request message header used as a promise.context - the actual execution context.responseProducer - the push response message producer.HttpExceptionIOExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.