类 DefaultExceptionMapper
java.lang.Object
com.alibaba.csp.sentinel.adapter.jaxrs.exception.DefaultExceptionMapper
- 所有已实现的接口:
javax.ws.rs.ext.ExceptionMapper<Throwable>
@Provider
public class DefaultExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<Throwable>
sentinel jax-rs adapter provide this exception mapper
in case of user throw exception which is not
with lower value
WebApplicationException and not matched by any ExceptionMapper
this exception mapper convert exception to Response let ContainerResponseFilter to be called to exit sentinel entry
user can add custom ExceptionMapper and config with
引用无效
javax.annotation.Priority
- 作者:
- sea
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
DefaultExceptionMapper
public DefaultExceptionMapper()
-
-
方法详细资料
-
toResponse
- 指定者:
toResponse在接口中javax.ws.rs.ext.ExceptionMapper<Throwable>
-