com.vaadin.server.
Class VaadinPortlet.VaadinLiferayRequest
- java.lang.Object
-
- javax.portlet.filter.PortletRequestWrapper
-
- com.vaadin.server.VaadinPortletRequest
-
- com.vaadin.server.VaadinPortlet.VaadinHttpAndPortletRequest
-
- com.vaadin.server.VaadinPortlet.VaadinLiferayRequest
-
All Implemented Interfaces:
VaadinRequest, Serializable, javax.portlet.PortletRequest
Enclosing class:
public static class VaadinPortlet.VaadinLiferayRequest extends VaadinPortlet.VaadinHttpAndPortletRequest
Portlet request for Liferay.
See Also:
-
-
Constructor Summary
Constructors Constructor and Description VaadinLiferayRequest(javax.portlet.PortletRequest request, VaadinPortletService vaadinService)
-
Method Summary
All Methods Modifier and Type Method and Description String
getPortalProperty(String name)
Reads a portal property from the portal context of the Vaadin request.
protected javax.servlet.http.HttpServletRequest
getServletRequest(javax.portlet.PortletRequest request)
Returns the original HTTP servlet request for this portlet request.
-
Methods inherited from class com.vaadin.server.VaadinPortlet.VaadinHttpAndPortletRequest
getHeader, getHeaderNames, getHeaders, getParameter, getParameterMap, getRemoteAddr, getRemoteHost, getRemotePort
-
Methods inherited from class com.vaadin.server.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:
VaadinPortletRequest
Reads a portal property from the portal context of the Vaadin request.
Overrides:
getPortalProperty
in classVaadinPortletRequest
Parameters:
name
- a string with the name of the portal property to getReturns:
a string with the value of the property, or
null
if the property is not defined
-
getServletRequest
protected javax.servlet.http.HttpServletRequest getServletRequest(javax.portlet.PortletRequest request)
Description copied from class:
VaadinPortlet.VaadinHttpAndPortletRequest
Returns the original HTTP servlet request for this portlet request.
Specified by:
getServletRequest
in classVaadinPortlet.VaadinHttpAndPortletRequest
Parameters:
request
-PortletRequest
used toReturns:
the original HTTP servlet request
-
-