setTransientLang

Set the language for the current request, but don't
change the language cookie. This means the language
will be set for this request, but will not change for
future requests.

Throws:

java.lang.IllegalArgumentException - If the given language
is not supported by the application.

clearTransientLang

public void clearTransientLang()

Clear the language for the current request, but don't
change the language cookie. This means the language
will be cleared for this request (so a default will be
used), but will not change for future requests.