title: parse http response bytes in java
body: <p>I'm trying to parse a <code>byte[]</code> in java, which is a representation of an HTTP response. There is this question <a href="https://stackoverflow.com/questions/9261109/is-there-any-simple-http-response-parser-for-java">Is there any simple http response parser for Java?</a>, which is exactly my question, but the accepted answer doesn't help me. If I look at <a href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/io/HttpMessageParser.html" rel="noreferrer">http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/io/HttpMessageParser.html</a>, I do not understand how this will help me. </p>