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>
JerseyExceptionMapper
to be used to handleUnauthorisedException
s.
-
-
Constructor Summary
Constructors Constructor Description UnauthorisedExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(UnauthorisedException e)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(UnauthorisedException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<UnauthorisedException>
-
-