MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / setCharset

Method setCharset

src/main/java/org/htmlunit/WebRequest.java:629–631  ·  view source on GitHub ↗

Sets the character set to use to perform the request. The default value is java.nio.charset.StandardCharsets#ISO_8859_1. @param charset the character set to use to perform the request

(final Charset charset)

Source from the content-addressed store, hash-verified

627 * @param charset the character set to use to perform the request
628 */
629 public void setCharset(final Charset charset) {
630 charset_ = charset;
631 }
632
633 /**
634 * @return the default character set to use for the response when it does not specify one.

Callers 15

doServiceMethod · 0.95
encodingCharsetUtf8Method · 0.95
serializationMethod · 0.95
buildWebRequestMethod · 0.95
WebRequestMethod · 0.95
getPageMethod · 0.95
openWindowMethod · 0.95
openDialogWindowMethod · 0.95
openMethod · 0.95
doClickStateUpdateMethod · 0.95

Calls

no outgoing calls

Tested by 5

doServiceMethod · 0.76
encodingCharsetUtf8Method · 0.76
serializationMethod · 0.76