public class PortletServletRequest extends InprocServletRequest
Modifier and Type | Field and Description |
---|---|
protected javax.portlet.PortletRequest |
m_portletRequest |
HEADER_DATE, m_attributes, m_charset, m_contentType, m_cookies, m_headers, m_inputStream, m_locale, m_parameters, m_reader, m_session
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
PortletServletRequest() |
PortletServletRequest(javax.portlet.PortletRequest request) |
authenticate, changeSessionId, getAsyncContext, getAttributes, getContentLengthLong, getCookies, getDateHeader, getDispatcherType, getHeaders, getIntHeader, getParameters, getPart, getParts, getPathInfo, getPathTranslated, getProtocol, getQueryString, getRealPath, getRequestDispatcher, getRequestURI, getRequestURL, getServletContext, getServletPath, isAsyncStarted, isAsyncSupported, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, login, logout, setAttributes, setContentType, setCookies, setHeaders, setInputStream, setLocale, setParameters, setReader, setSession, startAsync, startAsync, upgrade
public PortletServletRequest()
public PortletServletRequest(javax.portlet.PortletRequest request)
public void release()
release
in class InprocServletRequest
public Object getAttribute(String name)
getAttribute
in interface ServletRequest
getAttribute
in class InprocServletRequest
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface ServletRequest
getAttributeNames
in class InprocServletRequest
public String getCharacterEncoding()
getCharacterEncoding
in interface ServletRequest
getCharacterEncoding
in class InprocServletRequest
public int getContentLength()
getContentLength
in interface ServletRequest
getContentLength
in class InprocServletRequest
public String getContentType()
getContentType
in interface ServletRequest
getContentType
in class InprocServletRequest
public ServletInputStream getInputStream() throws IOException
getInputStream
in interface ServletRequest
getInputStream
in class InprocServletRequest
IOException
public String getLocalAddr()
getLocalAddr
in interface ServletRequest
getLocalAddr
in class InprocServletRequest
public Locale getLocale()
getLocale
in interface ServletRequest
getLocale
in class InprocServletRequest
public Enumeration<Locale> getLocales()
getLocales
in interface ServletRequest
getLocales
in class InprocServletRequest
public String getLocalName()
getLocalName
in interface ServletRequest
getLocalName
in class InprocServletRequest
public int getLocalPort()
getLocalPort
in interface ServletRequest
getLocalPort
in class InprocServletRequest
public String getParameter(String name)
getParameter
in interface ServletRequest
getParameter
in class InprocServletRequest
public Map<String,String[]> getParameterMap()
getParameterMap
in interface ServletRequest
getParameterMap
in class InprocServletRequest
public Enumeration<String> getParameterNames()
getParameterNames
in interface ServletRequest
getParameterNames
in class InprocServletRequest
public String[] getParameterValues(String name)
getParameterValues
in interface ServletRequest
getParameterValues
in class InprocServletRequest
public BufferedReader getReader() throws IOException
getReader
in interface ServletRequest
getReader
in class InprocServletRequest
IOException
public String getRemoteAddr()
getRemoteAddr
in interface ServletRequest
getRemoteAddr
in class InprocServletRequest
public String getRemoteHost()
getRemoteHost
in interface ServletRequest
getRemoteHost
in class InprocServletRequest
public int getRemotePort()
getRemotePort
in interface ServletRequest
getRemotePort
in class InprocServletRequest
public String getScheme()
getScheme
in interface ServletRequest
getScheme
in class InprocServletRequest
public String getServerName()
getServerName
in interface ServletRequest
getServerName
in class InprocServletRequest
public int getServerPort()
getServerPort
in interface ServletRequest
getServerPort
in class InprocServletRequest
public boolean isSecure()
isSecure
in interface ServletRequest
isSecure
in class InprocServletRequest
public void removeAttribute(String name)
removeAttribute
in interface ServletRequest
removeAttribute
in class InprocServletRequest
public void setAttribute(String name, Object value)
setAttribute
in interface ServletRequest
setAttribute
in class InprocServletRequest
public void setCharacterEncoding(String charset) throws UnsupportedEncodingException
setCharacterEncoding
in interface ServletRequest
setCharacterEncoding
in class InprocServletRequest
UnsupportedEncodingException
public String getAuthType()
getAuthType
in interface HttpServletRequest
getAuthType
in class InprocServletRequest
public String getContextPath()
getContextPath
in interface HttpServletRequest
getContextPath
in class InprocServletRequest
public String getHeader(String name)
getHeader
in interface HttpServletRequest
getHeader
in class InprocServletRequest
public Enumeration<String> getHeaderNames()
getHeaderNames
in interface HttpServletRequest
getHeaderNames
in class InprocServletRequest
public Enumeration<String> getHeaders(String name)
getHeaders
in interface HttpServletRequest
getHeaders
in class InprocServletRequest
public String getMethod()
getMethod
in interface HttpServletRequest
getMethod
in class InprocServletRequest
public String getRemoteUser()
getRemoteUser
in interface HttpServletRequest
getRemoteUser
in class InprocServletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface HttpServletRequest
getRequestedSessionId
in class InprocServletRequest
public HttpSession getSession()
getSession
in interface HttpServletRequest
getSession
in class InprocServletRequest
public HttpSession getSession(boolean create)
getSession
in interface HttpServletRequest
getSession
in class InprocServletRequest
public Principal getUserPrincipal()
getUserPrincipal
in interface HttpServletRequest
getUserPrincipal
in class InprocServletRequest
public boolean isUserInRole(String role)
isUserInRole
in interface HttpServletRequest
isUserInRole
in class InprocServletRequest
public javax.portlet.PortletRequest getPortletRequest()
public void setPortletRequest(javax.portlet.PortletRequest portletRequest)