MCPcopy Create free account
hub / github.com/apache/tomcat / setLocale

Method setLocale

java/jakarta/servlet/ServletResponse.java:345–345  ·  view source on GitHub ↗

Sets the locale of the response, if the response has not been committed yet. It also sets the response's character encoding appropriately for the locale, if the character encoding has not been explicitly set using #setContentType, #setCharacterEncoding(String) or {@link #setCharacter

(Locale loc)

Source from the content-addressed store, hash-verified

343 * @see #setCharacterEncoding(Charset)
344 */
345 void setLocale(Locale loc);
346
347 /**
348 * Returns the locale specified for this response using the {@link #setLocale} method. Calls made to

Callers 14

setLocaleMethod · 0.65
setLocaleMethod · 0.65
getStringMethod · 0.65
getStringMethod · 0.65
reportMethod · 0.65
reportMethod · 0.65
reportMethod · 0.65
setLocaleMethod · 0.65
setLocaleMethod · 0.65
setLocaleMethod · 0.65
setLocaleMethod · 0.65
getStringMethod · 0.65

Implementers 4

ServletResponseWrapperjava/jakarta/servlet/ServletResponseWr
TesterHttpServletResponsetest/org/apache/catalina/filters/Teste
Responsejava/org/apache/catalina/connector/Res
ResponseFacadejava/org/apache/catalina/connector/Res

Calls

no outgoing calls

Tested by

no test coverage detected