class HeaderValueValidator implements BiConsumer<HeaderDefinition, CharSequence> {

    @Override
    public void accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence) {
        final ValueValidator validatorChain = HeaderValueValidators.getIntValidator()
                .andThen(HeaderValueValidators.getLongValidator())
                .andThen(HeaderValueValidators.getBooleanValidator())
                .andThen(HeaderValueValidators.getJsonArrayValidator())
                .andThen(HeaderValueValidators.getEntityTagValidator())
                .andThen(HeaderValueValidators.getEntityTagMatchersValidator());

        validatorChain.accept(definition, charSequence);
    }

    private  HeaderValueValidator();

}