@Singleton @Primary @Produces public class UnsatisfiedRouteHandler extends java.lang.Object implements ExceptionHandler<UnsatisfiedRouteException,HttpResponse>
UnsatisfiedRouteException
.Constructor and Description |
---|
UnsatisfiedRouteHandler() |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
handle(HttpRequest request,
UnsatisfiedRouteException exception)
Handles an exception and returns the result.
|
public HttpResponse handle(HttpRequest request, UnsatisfiedRouteException exception)
ExceptionHandler
handle
in interface ExceptionHandler<UnsatisfiedRouteException,HttpResponse>
request
- The requestexception
- The exception type