Class UploadPack.FirstLine

  • Enclosing class:
    UploadPack

    public static class UploadPack.FirstLine
    extends java.lang.Object
    Data in the first line of a request, the line itself plus options.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLine()  
      java.util.Set<java.lang.String> getOptions()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FirstLine

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

      • getLine

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

        public java.util.Set<java.lang.String> getOptions()
        Returns:
        options parsed from the line.