草庐IT

sessionInputBuffer

全部标签

java - 在java中解析http响应字节

我正在尝试用java解析byte[],它代表HTTP响应。有这个问题IsthereanysimplehttpresponseparserforJava?,这正是我的问题,但接受的答案对我没有帮助。如果我看http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/io/HttpMessageParser.html,我不明白这对我有什么帮助。 最佳答案 我希望这能让你开始Strings="HTTP/1.1200OK\r\n"+"Content