EnvelopeValidator

public interface EnvelopeValidator<E extends MessageEnvelope<? extends Object, ? extends Object, ? extends Object>>

An interface defining the validator for a MessageEnvelope.

Parameters

<E>

the type of the MessageEnvelope to validate

Functions

Link copied to clipboard
public abstract Optional<MessageInvalid> validate(E envelope)
Validates the given MessageEnvelope by some specific rules.