Package org.ldaptive

Class AbstractRequestMessage.AbstractBuilder<B,​T extends AbstractRequestMessage>

    • Constructor Detail

      • AbstractBuilder

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

      • self

        protected abstract B self()
        Returns this builder.
        Returns:
        builder
      • controls

        public B controls​(RequestControl... cntrls)
        Sets controls on the message.
        Parameters:
        cntrls - controls
        Returns:
        this builder
      • responseTimeout

        public B responseTimeout​(Duration time)
        Sets the response timeout on the message.
        Parameters:
        time - response timeout
        Returns:
        this builder
      • build

        public T build()
        Returns the message.
        Returns:
        message