Class BaseReceivePack.FirstLine

  • Enclosing class:
    BaseReceivePack

    public static class BaseReceivePack.FirstLine
    extends Object
    Data in the first line of a request, the line itself plus capabilities.
    • Constructor Detail

      • FirstLine

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

      • getLine

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

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