public interface HttpServerOnRequestHeadersProcess
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(ConnectionContext connectionContext,
HttpRequestHeaders requestHeaders,
OutputStream outputStream)
Processes request headers as soon as they are received
|
boolean process(ConnectionContext connectionContext, HttpRequestHeaders requestHeaders, OutputStream outputStream) throws IOException
connectionContext - - context of the client connectionrequestHeaders - - an incoming requestoutputStream - - output stream where a response needs to be written, do not close this stream unless you wish to
close the connection to the client. The client might make several requests on the same connection.IOException - - thrown when connection is closed or the request does not follow HTTP standardsCopyright © 2019. All rights reserved.