Class EndpointHandlerMultiMethod
java.lang.Object
org.springframework.kafka.support.EndpointHandlerMethod
org.springframework.kafka.support.EndpointHandlerMultiMethod
Handler multi method for retrying endpoints.
- Since:
- 3.2
- Author:
- Wang Zhiyang
-
Constructor Summary
ConstructorDescriptionEndpointHandlerMultiMethod
(Object bean, Method defaultMethod, List<Method> methods) Construct an instance for the provided bean, defaultMethod and methods. -
Method Summary
Modifier and TypeMethodDescriptionReturn the default method.Return the method list.void
setDefaultMethod
(Method defaultMethod) Set the default method.void
setMethods
(List<Method> methods) Set the method list.Methods inherited from class org.springframework.kafka.support.EndpointHandlerMethod
getMethod, getMethodName, resolveBean
-
Constructor Details
-
EndpointHandlerMultiMethod
Construct an instance for the provided bean, defaultMethod and methods.- Parameters:
bean
- the bean.defaultMethod
- the defaultMethod.methods
- the methods.
-
-
Method Details
-
getMethods
Return the method list.- Returns:
- the method list.
-
setMethods
Set the method list.- Parameters:
methods
- the method list.
-
getDefaultMethod
Return the default method.- Returns:
- the default method.
-
setDefaultMethod
Set the default method.- Parameters:
defaultMethod
- the default method.
-