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