Package com.liferay.portal.servlet
Class I18nServlet
Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.liferay.portal.servlet.I18nServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class I18nServlet
extends javax.servlet.http.HttpServlet
- Author:
- Brian Wing Shun Chan
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected I18nServlet.I18nData
getI18nData
(Locale locale) protected I18nServlet.I18nData
getI18nData
(javax.servlet.http.HttpServletRequest httpServletRequest) protected void
sendRedirect
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, I18nServlet.I18nData i18nData) void
service
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) static void
setLanguageIds
(com.liferay.portal.kernel.xml.Element root) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
I18nServlet
public I18nServlet()
-
-
Method Details
-
getLanguageIds
-
getLanguageIdsMap
-
setLanguageIds
public static void setLanguageIds(com.liferay.portal.kernel.xml.Element root) -
service
public void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException - Overrides:
service
in classjavax.servlet.http.HttpServlet
- Throws:
IOException
javax.servlet.ServletException
-
getI18nData
protected I18nServlet.I18nData getI18nData(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getI18nData
protected I18nServlet.I18nData getI18nData(Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
sendRedirect
protected void sendRedirect(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, I18nServlet.I18nData i18nData)
-