Package org.apache.storm.daemon.common
Class AuthorizationExceptionMapper
- java.lang.Object
-
- org.apache.storm.daemon.common.AuthorizationExceptionMapper
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<AuthorizationException>
@Provider public class AuthorizationExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<AuthorizationException>
-
-
Field Summary
Fields Modifier and Type Field Description jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest>
request
-
Constructor Summary
Constructors Constructor Description AuthorizationExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
toResponse(AuthorizationException ex)
-
-
-
Method Detail
-
toResponse
public jakarta.ws.rs.core.Response toResponse(AuthorizationException ex)
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<AuthorizationException>
-
-