public static interface HttpFilterChain.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
- an intermediate (1xx) HTTP response.HttpException
- in case of an HTTP protocol violation.IOException
- in case of an I/O error.void submitResponse(ClassicHttpResponse response) throws HttpException, IOException
response
- a final (non 1xx) HTTP response.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.