/src/main/java/org/htmlunit/MockWebConnection.java
defaultResponse_ = buildRawResponseData( content, charset, statusCode, statusMessage, contentType, headers) ;final RawResponseData responseEntry = buildRawResponseData( content, charset, statusCode, statusMessage, contentType, headers) ;
final RawResponseData responseEntry = buildRawResponseData ( content, charset, statusCode, statusMessage, contentType, headers ) ;
ISO_8859_1, headers); } public void setResponse(final URL url, final String content, final int statusCode, final String statusMessage, final String contentType, final Charset charset, final List<NameValuePair> headers) { <extra_id_0> responseMap_.put(url.toExternalForm(), responseEntry); } public void setThrowable(final URL url, final IOException throwable) { throwableMap_.put(url.toExternalForm(), throwable); } public void setResponse(final URL url, final byte[] content, final int statusCode,