/src/main/java/org/htmlunit/MockWebConnection.java
return new RawResponseData( statusMessage, statusCode, content, contentType, headers) ;
return new RawResponseData ( content, statusCode, statusMessage, contentType, headers ) ;
final RawResponseData responseEntry = buildRawResponseData(content, statusCode, statusMessage, contentType, headers); responseMap_.put(url.toExternalForm(), responseEntry); } private static RawResponseData buildRawResponseData(final byte[] content, final int statusCode, final String statusMessage, final String contentType, final List<NameValuePair> headers) { <extra_id_0> } private static RawResponseData buildRawResponseData(final String content, Charset charset, final int statusCode, final String statusMessage, final String contentType, final List<NameValuePair> headers) { if (charset == null) { charset = ISO_8859_1; }