Class AuthorizationExceptionMapper
java.lang.Object
org.apache.storm.daemon.ui.exceptionmappers.AuthorizationExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<AuthorizationException>
@Provider
public class AuthorizationExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<AuthorizationException>
-
Field Summary
Modifier and TypeFieldDescriptionjavax.inject.Provider<javax.servlet.http.HttpServletRequest>
-
Constructor Summary
-
Method Summary
-
Field Details
-
request
@Inject public javax.inject.Provider<javax.servlet.http.HttpServletRequest> request
-
-
Constructor Details
-
AuthorizationExceptionMapper
public AuthorizationExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<AuthorizationException>
-