parseMessage method
Implementation
void parseMessage(InputStream input) {
final header = Message.parseHeader(input);
input.protocol = header.protocol;
input.encoding = header.encoding;
handleMessage(header, input);
}
void parseMessage(InputStream input) {
final header = Message.parseHeader(input);
input.protocol = header.protocol;
input.encoding = header.encoding;
handleMessage(header, input);
}