Removed System.out.printlns

This commit is contained in:
Trustin Lee 2008-12-05 02:05:42 +00:00
parent 978bc83730
commit df2f9d9d50

View File

@ -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;