| Modifier and Type | Class and Description |
|---|---|
| public static interface | AsyncServerRequestHandler.ResponseTrigger
Response trigger that can be used to submit a final HTTP response and terminate HTTP request processing. |
| Modifier and Type | Method and Description |
|---|---|
| public void | handle(T
the request object. requestObject, AsyncServerRequestHandler.the response trigger. responseTrigger,the actual execution context. context)Triggered to handles the request object produced by the |
| public AsyncRequestConsumer | Returns: the request handler.the incoming request head. request, EntityDetails the request entity details or entityDetails, HttpContext null if the request
does not enclose an entity.the actual execution context. context)Triggered to signal new incoming request. |
| handle | back to summary |
|---|---|
| public void handle(T requestObject, AsyncServerRequestHandler. Triggered to handles the request object produced by the
| |
| prepare | back to summary |
|---|---|
| public AsyncRequestConsumer Triggered to signal new incoming request. The handler can create a
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | pushPromise(HttpRequest
the request message header used as a promise. promise, HttpContext the actual execution context. context, AsyncPushProducer the push response message producer. responseProducer)Pushes a request message head as a promise to deliver a response message. |
| public void | sendInformation(HttpResponse
the intermediate (1xx) HTTP response response, HttpContext the actual execution context. context)Sends an intermediate informational HTTP response to the client. |
| public void | submitResponse(AsyncResponseProducer
the HTTP response message producer. responseProducer, HttpContext the actual execution context. context)Sends a final HTTP response to the client. |
| pushPromise | back to summary |
|---|---|
| public void pushPromise(HttpRequest promise, HttpContext context, AsyncPushProducer responseProducer) throws HttpException, IOException Pushes a request message head 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 to the client.
| |
| submitResponse | back to summary |
|---|---|
| public void submitResponse(AsyncResponseProducer responseProducer, HttpContext context) throws HttpException, IOException Sends a final HTTP response to the client.
| |