Class EndpointHandlerMultiMethod

java.lang.Object
org.springframework.kafka.support.EndpointHandlerMethod
org.springframework.kafka.support.EndpointHandlerMultiMethod

public class EndpointHandlerMultiMethod extends EndpointHandlerMethod
Handler multi method for retrying endpoints.
Since:
3.2
Author:
Wang Zhiyang
  • Constructor Details

    • EndpointHandlerMultiMethod

      public EndpointHandlerMultiMethod(Object bean, Method defaultMethod, List<Method> methods)
      Construct an instance for the provided bean, defaultMethod and methods.
      Parameters:
      bean - the bean.
      defaultMethod - the defaultMethod.
      methods - the methods.
  • Method Details

    • getMethods

      public List<Method> getMethods()
      Return the method list.
      Returns:
      the method list.
    • setMethods

      public void setMethods(List<Method> methods)
      Set the method list.
      Parameters:
      methods - the method list.
    • getDefaultMethod

      public Method getDefaultMethod()
      Return the default method.
      Returns:
      the default method.
    • setDefaultMethod

      public void setDefaultMethod(Method defaultMethod)
      Set the default method.
      Parameters:
      defaultMethod - the default method.