@Override
    public boolean configure(final FeatureContext context) {
        // disable Jersey default BeanValidation feature
        context.property(ServerProperties.BV_FEATURE_DISABLE, "true");
        context.register(new ValidationBinder())
                .register(ValidationExceptionMapper.class)
                .register(ValidationConfigurationContextResolver.class);
        return true;
    }
@ Override public boolean configure ( final FeatureContext context ) { context . property ( ServerProperties . BV_FEATURE_DISABLE , "true" ) ; context . register ( new ValidationBinder ( ) ) . register ( ValidationExceptionMapper . class ) . register ( ValidationConfigurationContextResolver . class ) ; return true ; }
{@inheritDoc}