Class PayloadParameterResolver

java.lang.Object
io.fluxcapacitor.javaclient.tracking.handling.PayloadParameterResolver
All Implemented Interfaces:
ParameterResolver<HasMessage>

public class PayloadParameterResolver extends Object implements ParameterResolver<HasMessage>
Resolves handler method parameters by injecting the message payload.

This resolver matches a parameter when its declared type is assignable from the actual payload class of the incoming message.

This resolver is typically used in conjunction with filters such as PayloadFilter to determine handler compatibility based on payload types.

Special care is taken to allow null payloads for parameters that are declared nullable, which can occur during upcasting or transformation pipelines.

See Also: