MCPcopy Index your code
hub / github.com/OpenFeign/feign / getCharset

Method getCharset

form/src/main/java/feign/form/FormEncoder.java:131–134  ·  view source on GitHub ↗
(String contentTypeValue)

Source from the content-addressed store, hash-verified

129 }
130
131 private Charset getCharset(String contentTypeValue) {
132 val matcher = CHARSET_PATTERN.matcher(contentTypeValue);
133 return matcher.find() ? Charset.forName(matcher.group(1)) : UTF_8;
134 }
135}

Callers 4

encodeMethod · 0.95
writeMethod · 0.45
writeMethod · 0.45
downloadTestMethod · 0.45

Calls

no outgoing calls

Tested by 1

downloadTestMethod · 0.36