Package org.ldaptive

Class AbstractOperationConnectionValidator.AbstractBuilder<Q extends Request,​S extends Result,​B,​T extends AbstractOperationConnectionValidator<Q,​S>>

    • Constructor Detail

      • AbstractBuilder

        protected AbstractBuilder​(T t)
        Creates a new abstract builder.
        Parameters:
        t - validator to build
    • Method Detail

      • request

        public B request​(Q request)
        Sets the request to use for validation.
        Parameters:
        request - operation request
        Returns:
        this builder
      • validResultCodes

        public B validResultCodes​(ResultCode... codes)
        Sets the result codes to use for validation.
        Parameters:
        codes - valid result codes
        Returns:
        this builder