private Set<ConstraintViolation<T>> validateRequest(final T request) {
        final ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
        return factory.getValidator().validate( request );
	}
private Set<ConstraintViolation<T>> validateRequest(final T request) {
        final ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
        return factory.getValidator().validate( request );
	}
private Set < ConstraintViolation < T > > validateRequest ( final T request ) { final ValidatorFactory factory = Validation . buildDefaultValidatorFactory ( ) ; return factory . getValidator ( ) . validate ( request ) ; }
Validate request.

@param request
the request
@return the sets the
Validate request .