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