BBxServletRequest::getLocale
Description
In BBj 21.00 and higher, this method 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.
Syntax
Return Value | Method |
---|---|
Locale | getLocale() |
Parameters
None.
Return Value
The preferred Locale for the client.
Remarks
This method is inherited from the Java HttpServletRequest object.
Example
Example Type: BBj |
Version History
- BBj 21.00: BBxServlet introduced.
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.