public class PortalInprocRequest extends InprocServletRequest
Modifier and Type | Field and Description |
---|---|
protected IContext |
m_context |
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 |
---|
PortalInprocRequest() |
PortalInprocRequest(IContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
IContext |
getContext() |
String |
getContextPath() |
String |
getLocalAddr() |
String |
getLocalName() |
int |
getLocalPort() |
String |
getRemoteUser() |
HttpSession |
getSession(boolean create) |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setContext(IContext context) |
authenticate, changeSessionId, getAsyncContext, getAttributes, getAuthType, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getCookies, getDateHeader, getDispatcherType, getHeader, getHeaderNames, getHeaders, getHeaders, getInputStream, getIntHeader, getLocale, getLocales, getMethod, getParameter, getParameterMap, getParameterNames, getParameters, getParameterValues, getPart, getParts, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getScheme, getServerName, getServerPort, getServletContext, getServletPath, getSession, isAsyncStarted, isAsyncSupported, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, login, logout, release, setAttributes, setCharacterEncoding, setContentType, setCookies, setHeaders, setInputStream, setLocale, setParameters, setReader, setSession, startAsync, startAsync, upgrade
protected IContext m_context
public PortalInprocRequest()
public PortalInprocRequest(IContext context)
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 getLocalAddr()
getLocalAddr
in interface ServletRequest
getLocalAddr
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 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 String getContextPath()
getContextPath
in interface HttpServletRequest
getContextPath
in class InprocServletRequest
public String getRemoteUser()
getRemoteUser
in interface HttpServletRequest
getRemoteUser
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 IContext getContext()
public void setContext(IContext context)