public interface HTTPRequestHandler
A HTTP handler can be registered to a HTTP server and will handle incoming HTTP requests.
| Modifier and Type | Method and Description |
|---|---|
HTTPResponse |
handle(HTTPRequestHeader header,
HTTPInputStream body,
ConnectionInfo connectionInfo,
MonitoringContext context)
Handles a HTTP request.
|
HTTPResponse handle(HTTPRequestHeader header, HTTPInputStream body, ConnectionInfo connectionInfo, MonitoringContext context) throws java.io.IOException
header - the http request headerbody - the http request bodyconnectionInfo - transport/addressing related information attached to the requestcontext - java.io.IOException