Annotation Interface Dispatch


@Target(METHOD) @Retention(RUNTIME) public @interface Dispatch
This annotation specifies the dispatching strategy for the method. This annotation is optional and if the method does not contain this annotation, then the dispatching is determined automatically based on the presence, or lack of, ResultHandler or ErrorHandler, and method return types.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    The dispatch type.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the Dispatch.Type for the method.