public static interface HttpServerRequestHandler.ResponseTrigger
| 限定符和类型 | 方法和说明 |
|---|---|
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 responseHttpExceptionIOExceptionvoid submitResponse(ClassicHttpResponse response) throws HttpException, IOException
response - the final (non 1xx) HTTP responseHttpExceptionIOExceptionCopyright © 2023. All rights reserved.