• Christian Schudt's avatar
    Language info should be in the Session, not in the Connection · 170b20cc
    Christian Schudt authored
    I feel the language (the stream's "xml:lang" attribute) should be in the Session interface rather than the Connection (similar as the stream id), because it's unrelated to the session's transport.
    
    The HttpSession already did that.
    
    Otherwise the used language is not easy to retrieve, e.g. when using SessionManager to get the session and OF-208 is hard to solve.
    
    Alternatively we can expose the Connection in the Session interface, but this approach feels wrong to me.
    
    Also use `java.util.Locale` rather than String, because it better reflects what can be in `xml:lang` (it can also have country codes, e.g. "de-CH")
    170b20cc
Name
Last commit
Last update
..
admin Loading commit data...
broadcast Loading commit data...
callbackOnOffline Loading commit data...
clientControl Loading commit data...
clustering Loading commit data...
contentFilter Loading commit data...
dbaccess Loading commit data...
emailListener Loading commit data...
emailOnAway Loading commit data...
fastpath Loading commit data...
gojara Loading commit data...
hazelcast Loading commit data...
jingleNodes Loading commit data...
jmxweb Loading commit data...
justmarried Loading commit data...
kraken Loading commit data...
loadStats Loading commit data...
monitoring Loading commit data...
motd Loading commit data...
mucservice Loading commit data...
nodejs Loading commit data...
ofmeet Loading commit data...
packetFilter Loading commit data...
presence Loading commit data...
rayo Loading commit data...
registration Loading commit data...
restAPI Loading commit data...
search Loading commit data...
sip Loading commit data...
stunserver Loading commit data...
subscription Loading commit data...
userCreation Loading commit data...
userImportExport Loading commit data...
userservice Loading commit data...
websocket Loading commit data...
xmldebugger Loading commit data...