Class ReceivePack.FirstLine

  • Enclosing class:
    ReceivePack

    @Deprecated
    public static class ReceivePack.FirstLine
    extends java.lang.Object
    Deprecated.
    Use FirstCommand instead.
    Data in the first line of a request, the line itself plus capabilities.
    Since:
    5.6
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private FirstCommand command
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      FirstLine​(java.lang.String line)
      Deprecated.
      Parse the first line of a receive-pack request.
    • Field Detail

    • Constructor Detail

      • FirstLine

        public FirstLine​(java.lang.String line)
        Deprecated.
        Parse the first line of a receive-pack request.
        Parameters:
        line - line from the client.
    • Method Detail

      • getLine

        public java.lang.String getLine()
        Deprecated.
        Returns:
        non-capabilities part of the line.
      • getCapabilities

        public java.util.Set<java.lang.String> getCapabilities()
        Deprecated.
        Returns:
        capabilities parsed from the line.