MCPcopy Index your code
hub / github.com/apache/tomcat / getLocale

Method getLocale

java/jakarta/servlet/ServletRequest.java:365–365  ·  view source on GitHub ↗

Returns the preferred Locale that the client will accept content in, based on the Accept-Language header. If the client request doesn't provide an Accept-Language header, this method returns the default locale for the server. @return the preferred Locale for the client

()

Source from the content-addressed store, hash-verified

363 * @return the preferred <code>Locale</code> for the client
364 */
365 Locale getLocale();
366
367 /**
368 * Returns an <code>Enumeration</code> of <code>Locale</code> objects indicating, in decreasing order starting with

Callers 15

doGetMethod · 0.65
doGetMethod · 0.65
doGetMethod · 0.65
renderHTMLMethod · 0.65
doGetMethod · 0.65
doGetMethod · 0.65
testSingle01Method · 0.65
testSingle02Method · 0.65
testSingle03Method · 0.65
testSingle04Method · 0.65
testSingle05Method · 0.65
testSingle06Method · 0.65

Implementers 4

ServletRequestWrapperjava/jakarta/servlet/ServletRequestWra
TesterHttpServletRequesttest/org/apache/catalina/filters/Teste
Requestjava/org/apache/catalina/connector/Req
RequestFacadejava/org/apache/catalina/connector/Req

Calls

no outgoing calls

Tested by 15

testSingle01Method · 0.52
testSingle02Method · 0.52
testSingle03Method · 0.52
testSingle04Method · 0.52
testSingle05Method · 0.52
testSingle06Method · 0.52
testSingle07Method · 0.52
testSingle08Method · 0.52
testSingle09Method · 0.52
testSingle10Method · 0.52
testSingle11Method · 0.52
testSingle12Method · 0.52