Class CircuitBreakerRequestValueProcessor
java.lang.Object
org.springframework.cloud.client.circuitbreaker.httpservice.CircuitBreakerRequestValueProcessor
- All Implemented Interfaces:
org.springframework.web.service.invoker.HttpRequestValues.Processor
public class CircuitBreakerRequestValueProcessor
extends Object
implements org.springframework.web.service.invoker.HttpRequestValues.Processor
A
HttpRequestValues.Processor that adds information necessary for
circuit-breaking to HttpRequestValues. The following attributes are added to
the builder:
METHOD_ATTRIBUTE_NAME- The name of the method being invoked.PARAMETER_TYPES_ATTRIBUTE_NAME- The types of the parameters of the method.ARGUMENTS_ATTRIBUTE_NAME- The actual arguments passed to the method.RETURN_TYPE_ATTRIBUTE_NAME- The return type of the method.
- Since:
- 5.0.0
- Author:
- Olga Maciaszek-Sharma
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSpring Cloud-specific attribute name for storing method arguments.static final StringSpring Cloud-specific attribute name for storing method declaring class name.static final StringSpring Cloud-specific attribute name for storing method name.static final StringSpring Cloud-specific attribute name for storing method parameter types.static final StringSpring Cloud-specific attribute name for storing method return types. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
METHOD_ATTRIBUTE_NAME
Spring Cloud-specific attribute name for storing method name.- See Also:
-
PARAMETER_TYPES_ATTRIBUTE_NAME
Spring Cloud-specific attribute name for storing method parameter types.- See Also:
-
ARGUMENTS_ATTRIBUTE_NAME
Spring Cloud-specific attribute name for storing method arguments.- See Also:
-
RETURN_TYPE_ATTRIBUTE_NAME
Spring Cloud-specific attribute name for storing method return types.- See Also:
-
DECLARING_CLASS_ATTRIBUTE_NAME
Spring Cloud-specific attribute name for storing method declaring class name.- See Also:
-
-
Constructor Details
-
CircuitBreakerRequestValueProcessor
public CircuitBreakerRequestValueProcessor()
-
-
Method Details
-
process
-