(byte[] data, boolean withoutTouchingContentLength)
| 221 | } |
| 222 | |
| 223 | private Http(byte[] data, boolean withoutTouchingContentLength) throws Exception { |
| 224 | if (withoutTouchingContentLength) { |
| 225 | |
| 226 | this.dontTouchContentLength(); |
| 227 | } |
| 228 | queryString = new QueryString(""); |
| 229 | header = new HttpHeader(data); |
| 230 | originalHeader = new HttpHeader(data); |
| 231 | analyzeStatusLine(header.getStatusline()); |
| 232 | rawBody = getHttpBody(data); |
| 233 | body = getCookedBody(header, rawBody); |
| 234 | } |
| 235 | |
| 236 | public HttpHeader getHeader() { |
| 237 | return header; |
nothing calls this directly
no test coverage detected