/src/main/java/org/htmlunit/MockWebConnection.java
headers_ = compileHeaders( headers, contentType) ; statusMessage_ = statusMessage;statusCode_ = statusCode;
statusCode_ = statusCode; statusMessage_ = statusMessage; headers_ = compileHeaders ( headers, contentType ) ;
} RawResponseData(final String stringContent, final Charset charset, final int statusCode, final String statusMessage, final String contentType, final List<NameValuePair> headers) { byteContent_ = null; charset_ = charset; stringContent_ = stringContent; <extra_id_0> } private static List<NameValuePair> compileHeaders(final List<NameValuePair> headers, final String contentType) { final List<NameValuePair> compiledHeaders = new ArrayList<>(); if (headers != null) { compiledHeaders.addAll(headers); }