Class ProtocolV0Parser

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

final class ProtocolV0Parser extends Object
Parser for git protocol versions 0 and 1. It reads the lines coming through the PacketLineIn and builds a FetchV0Request object. It requires a transferConfig object to know if the server supports filters.
  • Field Details

  • Constructor Details

  • Method Details

    • recvWants

      Parse an incoming protocol v1 upload request arguments from the wire. The incoming PacketLineIn is consumed until an END line, but the caller is responsible for closing it (if needed).
      Parameters:
      pckIn - incoming lines. This method will read until an END line.
      Returns:
      a FetchV0Request with the data received in the wire.
      Throws:
      PackProtocolException
      IOException