org.apache.pluto.internal.impl
Class EventRequestImpl
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.apache.pluto.internal.impl.PortletRequestImpl
org.apache.pluto.internal.impl.EventRequestImpl
- All Implemented Interfaces:
- EventRequest, PortletRequest, javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest, InternalEventRequest, InternalPortletRequest
public class EventRequestImpl
- extends PortletRequestImpl
- implements EventRequest, InternalEventRequest
javax.portlet.EventRequest
implementation.
This class also implements InternalEventRequest.
- Author:
- Christian Raschka
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Methods inherited from class org.apache.pluto.internal.impl.PortletRequestImpl |
baseGetParameterMap, createUserInfoMap, getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletRequest, getInternalPortletWindow, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getPortalContext, getPortletContainer, getPortletMode, getPortletSession, getPortletSession, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getProtocol, getPublicParameterMap, getQueryString, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getServletPath, getSession, getSession, getUserPrincipal, getWindowId, getWindowID, getWindowState, init, isForwarded, isIncluded, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, release, removeAttribute, setAttribute, setBodyAccessed, setForwarded, setForwardedQueryString, setIncluded, setIncludedQueryString |
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
getMethod, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL |
Methods inherited from class javax.servlet.ServletRequestWrapper |
getRequest, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.pluto.internal.InternalPortletRequest |
getHttpServletRequest, getInternalPortletWindow, getPortletContainer, init, isForwarded, isIncluded, release, setAttribute, setForwarded, setForwardedQueryString, setIncluded, setIncludedQueryString |
EventRequestImpl
public EventRequestImpl(PortletContainer container,
InternalPortletWindow internalPortletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
Event event)
getEvent
public Event getEvent()
- Description copied from interface:
EventRequest
- Returns the event that triggered the call to the processEvent method.
- Specified by:
getEvent
in interface EventRequest
- Returns:
- the event that triggered the current processEvent call.
getPreferences
public PortletPreferences getPreferences()
- FIXME: (see ActionRequestImpl)
- Specified by:
getPreferences
in interface PortletRequest
- Overrides:
getPreferences
in class PortletRequestImpl
- Returns:
- the portlet preferences
getLifecyclePhase
public java.lang.String getLifecyclePhase()
- Specified by:
getLifecyclePhase
in interface InternalPortletRequest
- Overrides:
getLifecyclePhase
in class PortletRequestImpl
getCookieProperties
public javax.servlet.http.Cookie[] getCookieProperties()
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncoding
in interface javax.servlet.ServletRequest
- Overrides:
getCharacterEncoding
in class javax.servlet.ServletRequestWrapper
getContentLength
public int getContentLength()
- Specified by:
getContentLength
in interface javax.servlet.ServletRequest
- Overrides:
getContentLength
in class javax.servlet.ServletRequestWrapper
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface javax.servlet.ServletRequest
- Overrides:
getContentType
in class javax.servlet.ServletRequestWrapper
getInputStream
public javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in interface javax.servlet.ServletRequest
- Overrides:
getInputStream
in class PortletRequestImpl
- Throws:
java.io.IOException
getReader
public java.io.BufferedReader getReader()
throws java.io.UnsupportedEncodingException,
java.io.IOException
- Specified by:
getReader
in interface javax.servlet.ServletRequest
- Overrides:
getReader
in class PortletRequestImpl
- Throws:
java.io.UnsupportedEncodingException
java.io.IOException
setCharacterEncoding
public void setCharacterEncoding(java.lang.String encoding)
throws java.io.UnsupportedEncodingException
- Description copied from class:
PortletRequestImpl
- TODO: why check bodyAccessed?
- Specified by:
setCharacterEncoding
in interface javax.servlet.ServletRequest
- Overrides:
setCharacterEncoding
in class PortletRequestImpl
- Throws:
java.io.UnsupportedEncodingException
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.