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