@Provider public class InvalidTokenExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<InvalidTokenException>
InvalidTokenException
to a 401 (Unauthorized) status.Constructor and Description |
---|
InvalidTokenExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(InvalidTokenException exception) |
public javax.ws.rs.core.Response toResponse(InvalidTokenException exception)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<InvalidTokenException>
Copyright © 2021 Atlassian. All rights reserved.