Class LsRefsV2Request.Builder

    • Method Detail

      • setSymrefs

        public LsRefsV2Request.Builder setSymrefs​(boolean value)
        Parameters:
        value -
        Returns:
        the Builder
      • addServerOption

        public LsRefsV2Request.Builder addServerOption​(@NonNull
                                                       String value)
        Records an application-specific option supplied in a server-option line, for later retrieval with LsRefsV2Request.getServerOptions().
        Parameters:
        value - the client-supplied server-option capability, without leading "server-option=".
        Returns:
        this builder
        Since:
        5.2
      • setAgent

        public LsRefsV2Request.Builder setAgent​(@Nullable
                                                String value)
        Value of an agent line received after the command and before the arguments. E.g. "agent=a.b.c/1.0" should set "a.b.c/1.0".
        Parameters:
        value - the client-supplied agent capability, without leading "agent="
        Returns:
        this builder
        Since:
        5.2