Package com.vaadin.portlet
Class VaadinPortlet.VaadinLiferayRequest
- java.lang.Object
-
- javax.portlet.filter.PortletRequestWrapper
-
- com.vaadin.portlet.VaadinPortletRequest
-
- com.vaadin.portlet.VaadinPortlet.VaadinHttpAndPortletRequest
-
- com.vaadin.portlet.VaadinPortlet.VaadinLiferayRequest
-
- All Implemented Interfaces:
VaadinRequest,Serializable,javax.portlet.PortletRequest
- Enclosing class:
- VaadinPortlet
public static class VaadinPortlet.VaadinLiferayRequest extends VaadinPortlet.VaadinHttpAndPortletRequest
Portlet request for Liferay.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VaadinLiferayRequest(javax.portlet.PortletRequest request, VaadinPortletService vaadinService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPortalProperty(String name)Reads a portal property from the portal context of the Vaadin request.protected javax.servlet.http.HttpServletRequestgetServletRequest(javax.portlet.PortletRequest request)Returns the original HTTP servlet request for this portlet request.-
Methods inherited from class com.vaadin.portlet.VaadinPortlet.VaadinHttpAndPortletRequest
getHeader, getHeaderNames, getHeaders, getParameter, getParameterMap, getRemoteAddr, getRemoteHost, getRemotePort
-
Methods inherited from class com.vaadin.portlet.VaadinPortletRequest
getCharacterEncoding, getContentLength, getContentType, getCurrent, getCurrentPortletRequest, getDateHeader, getInputStream, getMethod, getPathInfo, getPortletPreference, getPortletRequest, getReader, getService, getWrappedSession, getWrappedSession
-
Methods inherited from class javax.portlet.filter.PortletRequestWrapper
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequest, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setRequest
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.VaadinRequest
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getRemoteUser, getUserPrincipal, isSecure, isUserInRole, removeAttribute, setAttribute
-
-
-
-
Constructor Detail
-
VaadinLiferayRequest
public VaadinLiferayRequest(javax.portlet.PortletRequest request, VaadinPortletService vaadinService)
-
-
Method Detail
-
getPortalProperty
public String getPortalProperty(String name)
Description copied from class:VaadinPortletRequestReads a portal property from the portal context of the Vaadin request.- Overrides:
getPortalPropertyin classVaadinPortletRequest- Parameters:
name- a string with the name of the portal property to get- Returns:
- a string with the value of the property, or
nullif the property is not defined
-
getServletRequest
protected javax.servlet.http.HttpServletRequest getServletRequest(javax.portlet.PortletRequest request)
Description copied from class:VaadinPortlet.VaadinHttpAndPortletRequestReturns the original HTTP servlet request for this portlet request.- Specified by:
getServletRequestin classVaadinPortlet.VaadinHttpAndPortletRequest- Parameters:
request-PortletRequestused to- Returns:
- the original HTTP servlet request
-
-