Method Signature
public abstract class MethodSignature<H extends HandlerMethod<? extends Object, ? extends Object, E, ? extends Object>, E extends MessageEnvelope<? extends Object, ? extends Object, ? extends Object>>
Specification of a handler method signature.
Sets the requirements to meet for the java.lang.reflect.Method in order to be qualified as a Message
handler method.
By extending this base class, descendants define the number of requirements:
- the method annotation,
- the specification of method parameters,
- the set of allowed access modifiers,
- the set of valid return types,
- the set of allowed exceptions, that the method declares to throw (empty by default),
- whether an ignored result, such as Nothing, may be returned.
Parameters
<H>
the type of the handler method
<E>
the type of envelope, which is used to invoke the handler method
Inheritors
Constructors
Functions
Link copied to clipboard
Obtains the type of a
Throwable
which a method can declare.Link copied to clipboard
Obtains the annotation, which is required to be declared for the matched raw method.
Link copied to clipboard
Creates the HandlerMethod instance according to the passed raw method and the parameter specification.
Link copied to clipboard
Match the method against the criteria and obtain a collection of mismatches, if any.
Link copied to clipboard
Determines if a method with this signature may return an isIgnored ignored} result.
Link copied to clipboard
Obtains the set of recommended access modifiers for the method.
Link copied to clipboard
Obtains the specification of handler parameters to meet.
Link copied to clipboard
Obtains the set of valid return types.
Link copied to clipboard
Determines, if the given raw
method
should be skipped as non-matching.