类 DefaultSentinelJaxRsFallback
java.lang.Object
com.alibaba.csp.sentinel.adapter.jaxrs.fallback.DefaultSentinelJaxRsFallback
- 所有已实现的接口:
SentinelJaxRsFallback
- 作者:
- sea
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Future<javax.ws.rs.core.Response> fallbackFutureResponse(String route, Throwable cause) Provides a fallback response future based on the cause of the failed execution.javax.ws.rs.core.ResponsefallbackResponse(String route, Throwable cause) Provides a fallback response based on the cause of the failed execution.
-
构造器详细资料
-
DefaultSentinelJaxRsFallback
public DefaultSentinelJaxRsFallback()
-
-
方法详细资料
-
fallbackResponse
从接口复制的说明:SentinelJaxRsFallbackProvides a fallback response based on the cause of the failed execution.- 指定者:
fallbackResponse在接口中SentinelJaxRsFallback- 参数:
route- The route the fallback is forcause- cause of the main method failure, may benull- 返回:
- the fallback response
-
fallbackFutureResponse
从接口复制的说明:SentinelJaxRsFallbackProvides a fallback response future based on the cause of the failed execution.- 指定者:
fallbackFutureResponse在接口中SentinelJaxRsFallback- 参数:
route- The route the fallback is forcause- cause of the main method failure, may benull- 返回:
- the fallback response future
-