@Provider public class AuthorizationExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<AuthorizationException>
Modifier and Type | Field and Description |
---|---|
javax.inject.Provider<javax.servlet.http.HttpServletRequest> |
request |
Constructor and Description |
---|
AuthorizationExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(AuthorizationException e) |
@Inject public javax.inject.Provider<javax.servlet.http.HttpServletRequest> request
public javax.ws.rs.core.Response toResponse(AuthorizationException e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<AuthorizationException>
Copyright © 2020 The Apache Software Foundation. All rights reserved.