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

Method getLocales

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

Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header. If the client request doesn't provide an Accept-Language header, this method retur

()

Source from the content-addressed store, hash-verified

373 * @return an <code>Enumeration</code> of preferred <code>Locale</code> objects for the client
374 */
375 Enumeration<Locale> getLocales();
376
377 /**
378 * Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.

Callers 15

reportMethod · 0.65
reportMethod · 0.65
reportMethod · 0.65
saveRequestMethod · 0.65
getLocalesMethod · 0.65
renderHtmlMethod · 0.65
doGetMethod · 0.65
doGetMethod · 0.65
doPutMethod · 0.65
doGetMethod · 0.65
doPostMethod · 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

no test coverage detected