// TODO think about disallow changing the xmlLang a second time after from default to client value
xmlLang = languageCode;
}
public void endSession(SessionTerminationCause terminationCause) {
StanzaWriter stanzaWriter = getResponseWriter();
stanzaWriter.close();
if (terminationCause == null) {
throw new RuntimeException("no termination cause given");
}