Removed System.out.printlns
This commit is contained in:
parent
978bc83730
commit
df2f9d9d50
@ -97,10 +97,8 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
|
||||
return reset();
|
||||
}
|
||||
case READ_FIXED_LENGTH_CONTENT: {
|
||||
System.out.println("A");
|
||||
//we have a content-length so we just read the correct number of bytes
|
||||
readFixedLengthContent(buffer);
|
||||
System.out.println("B");
|
||||
return reset();
|
||||
}
|
||||
/**
|
||||
@ -186,11 +184,6 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
|
||||
line = readIntoCurrentLine(buffer);
|
||||
}
|
||||
|
||||
for (String n: message.getHeaderNames()) {
|
||||
for (String v: message.getHeaders(n)) {
|
||||
System.out.println(n + ": " + v);
|
||||
}
|
||||
}
|
||||
State nextState;
|
||||
if (message.getContentLength() >= 0) {
|
||||
nextState = State.READ_FIXED_LENGTH_CONTENT;
|
||||
|
Loading…
Reference in New Issue
Block a user