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