Class InputParameterResolver

java.lang.Object
io.fluxzero.sdk.tracking.handling.InputParameterResolver
All Implemented Interfaces:
io.fluxzero.common.handling.ParameterResolver<Object>

public class InputParameterResolver extends Object implements io.fluxzero.common.handling.ParameterResolver<Object>
Resolves handler method parameters by simply injecting the input if the parameter type is assignable from the input type.
  • Constructor Details

    • InputParameterResolver

      public InputParameterResolver()
  • Method Details

    • resolve

      public Function<Object,Object> resolve(Parameter parameter, Annotation methodAnnotation)
      Specified by:
      resolve in interface io.fluxzero.common.handling.ParameterResolver<Object>
    • matches

      public boolean matches(Parameter parameter, Annotation methodAnnotation, Object value)
      Specified by:
      matches in interface io.fluxzero.common.handling.ParameterResolver<Object>