public static interface HttpServerRequestHandler.ResponseTrigger
Modifier and Type | Method and Description |
---|---|
void |
sendInformation(ClassicHttpResponse response)
Sends an intermediate informational HTTP response to the client.
|
void |
submitResponse(ClassicHttpResponse response)
Sends a final HTTP response to the client.
|
void sendInformation(ClassicHttpResponse response) throws HttpException, IOException
response
- the intermediate (1xx) HTTP responseHttpException
- in case of an HTTP protocol violation.IOException
- in case of an I/O error.void submitResponse(ClassicHttpResponse response) throws HttpException, IOException
response
- the final (non 1xx) HTTP responseHttpException
- 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.