Package uk.gov.gchq.gaffer.rest.mapper
Class UnauthorisedExceptionMapper
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.mapper.UnauthorisedExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<UnauthorisedException>
@Provider public class UnauthorisedExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<UnauthorisedException>
JerseyExceptionMapperto be used to handleUnauthorisedExceptions.
-
-
Constructor Summary
Constructors Constructor Description UnauthorisedExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetoResponse(UnauthorisedException e)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(UnauthorisedException e)
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<UnauthorisedException>
-
-