-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HttpExceptionHandler
A lambda "catch-all" for handling exceptions during HTTP-Request processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onHttpError(RestRequestEvent aRequestEvent, org.refcodes.web.HttpServerResponse aHttpServerResponse, Exception aException, org.refcodes.web.HttpStatusCode aHttpStatusCode)
Invoked upon thrownException
instances whilst processing HTTP-Requests.
-
-
-
Method Detail
-
onHttpError
void onHttpError(RestRequestEvent aRequestEvent, org.refcodes.web.HttpServerResponse aHttpServerResponse, Exception aException, org.refcodes.web.HttpStatusCode aHttpStatusCode)
Invoked upon thrownException
instances whilst processing HTTP-Requests. Process the HTTP-Response as of what you get from the HTTP-Request
-
-