Handler for an incoming HTTP request that allows to send the HTTP response asynchronously.
- Since:
- 0.12.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault ClassLoadervoidhandleRequest(HttpRequestContext requestContext, HttpResponseReadyCallback responseCallback) Called to handle an incoming HTTP request
-
Method Details
-
handleRequest
Called to handle an incoming HTTP request- Parameters:
requestContext- HTTP request contentresponseCallback- callback to call when the response content is ready.
-
getContextClassLoader
- Returns:
- the classloader for the artifact that owns this
RequestHandler.
-