public class I18nTranslationModeSwitch extends Object
It will set it each time while these conditions are true and reverse the situation if the magic request parameter is set to off
Constructor and Description |
---|
I18nTranslationModeSwitch() |
Modifier and Type | Method and Description |
---|---|
void |
switchTranslationsMode(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
This can be called to turn on translations mode or turn it off depending on the presence of the URL parameter.
|
public void switchTranslationsMode(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
httpServletRequest
- the request in playhttpServletResponse
- the response in playCopyright © 2002-2024 Atlassian. All Rights Reserved.