Class FetchV2Request

java.lang.Object
org.eclipse.jgit.transport.FetchV2Request

public final class FetchV2Request extends Object
Fetch request from git protocol v2.

This is used as an input to ProtocolV2Hook.

Since:
5.1
  • Method Details

    • getWantedRefs

      @NonNull public List<String> getWantedRefs()
      Get list of references received in "want-ref" lines
      Returns:
      list of references received in "want-ref" lines
      Since:
      5.4
    • getServerOptions

      @NonNull public List<String> getServerOptions()
      Options received in server-option lines. The caller can choose to act on these in an application-specific way
      Returns:
      Immutable list of server options received in the request
      Since:
      5.2