Java 类org.apache.http.impl.io.AbstractMessageParser 实例源码

项目:BUbiNG    文件:InfoWarcRecord.java   
private static Header[] readPayload(final BoundSessionInputBuffer buffer) throws IOException {
    try {
        return AbstractMessageParser.parseHeaders(buffer, -1, -1, null);
    } catch (HttpException e) {
        throw new WarcFormatException("Can't parse information", e);
    }
}