create

public abstract H create(Method method, ParameterSpec<E> params)

Creates the HandlerMethod instance according to the passed raw method and the parameter specification.

By implementing this method descendants define how the parameter spec is used to fit the Message envelope onto the parameter list during the method invocation.

This method is designed to NOT perform any matching, but rather create a specific instance of HandlerMethod.

Return

new instance of HandlerMethod

Parameters

method

the raw method to wrap into a HandlerMethod instance being created

params

the specification of method parameters