classify

public final Optional<H> classify(Method method)

Creates a handler method from a raw method, if the passed method matches the signature.

Return

the instance of HandlerMethod or empty Optional if the passed raw method does not match the signature

Parameters

method

the method to convert to a HandlerMethod

Throws

in case there are ERROR-level mismatches encountered