final class ProtocolV0Parser
extends java.lang.Object
PacketLineIn and builds a
FetchV0Request object.
It requires a transferConfig object to know if the server supports filters.| Modifier and Type | Field and Description |
|---|---|
private TransferConfig |
transferConfig |
| Constructor and Description |
|---|
ProtocolV0Parser(TransferConfig transferConfig) |
| Modifier and Type | Method and Description |
|---|---|
(package private) FetchV0Request |
recvWants(PacketLineIn pckIn)
Parse an incoming protocol v1 upload request arguments from the wire.
|
private final TransferConfig transferConfig
ProtocolV0Parser(TransferConfig transferConfig)
FetchV0Request recvWants(PacketLineIn pckIn) throws PackProtocolException, java.io.IOException
pckIn - incoming lines. This method will read until an END line.PackProtocolExceptionjava.io.IOException