public class FirstWant extends Object
Modifier and Type | Method and Description |
---|---|
static FirstWant |
fromLine(String line)
Parse the first want line in the protocol v0/v1 pack negotiation.
|
String |
getAgent() |
Set<String> |
getCapabilities() |
String |
getLine() |
public static FirstWant fromLine(String line) throws PackProtocolException
line
- line from the client.PackProtocolException
- if the line doesn't follow the protocol format.public String getLine()
public Set<String> getCapabilities()
Copyright © 2019 Eclipse JGit Project. All rights reserved.