public class CMISHttpServletRequest extends Object implements HttpServletRequest
Modifier and Type | Field and Description |
---|---|
protected BaseUrlGenerator |
baseUrlGenerator |
protected CMISDispatcherRegistry.Binding |
binding |
protected Descriptor |
currentDescriptor |
protected HttpServletRequest |
httpReq |
protected String |
id |
protected String |
networkId |
protected String |
operation |
protected org.springframework.extensions.webscripts.WebScriptRequest |
req |
protected String |
serviceName |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
CMISHttpServletRequest(org.springframework.extensions.webscripts.WebScriptRequest req,
String serviceName,
BaseUrlGenerator baseUrlGenerator,
CMISDispatcherRegistry.Binding binding,
Descriptor currentDescriptor,
TenantAdminService tenantAdminService) |
protected org.springframework.extensions.webscripts.WebScriptRequest req
protected HttpServletRequest httpReq
protected String networkId
protected String operation
protected String id
protected String serviceName
protected BaseUrlGenerator baseUrlGenerator
protected CMISDispatcherRegistry.Binding binding
protected Descriptor currentDescriptor
public CMISHttpServletRequest(org.springframework.extensions.webscripts.WebScriptRequest req, String serviceName, BaseUrlGenerator baseUrlGenerator, CMISDispatcherRegistry.Binding binding, Descriptor currentDescriptor, TenantAdminService tenantAdminService)
protected void addAttributes()
public Object getAttribute(String arg0)
getAttribute
in interface ServletRequest
public Enumeration getAttributeNames()
getAttributeNames
in interface ServletRequest
public String getCharacterEncoding()
getCharacterEncoding
in interface ServletRequest
public int getContentLength()
getContentLength
in interface ServletRequest
public String getContentType()
getContentType
in interface ServletRequest
public ServletInputStream getInputStream() throws IOException
getInputStream
in interface ServletRequest
IOException
public String getLocalAddr()
getLocalAddr
in interface ServletRequest
public String getLocalName()
getLocalName
in interface ServletRequest
public int getLocalPort()
getLocalPort
in interface ServletRequest
public Locale getLocale()
getLocale
in interface ServletRequest
public Enumeration getLocales()
getLocales
in interface ServletRequest
public String getParameter(String arg0)
getParameter
in interface ServletRequest
public Map getParameterMap()
getParameterMap
in interface ServletRequest
public Enumeration getParameterNames()
getParameterNames
in interface ServletRequest
public String[] getParameterValues(String arg0)
getParameterValues
in interface ServletRequest
public String getProtocol()
getProtocol
in interface ServletRequest
public BufferedReader getReader() throws IOException
getReader
in interface ServletRequest
IOException
public String getRealPath(String arg0)
getRealPath
in interface ServletRequest
public String getRemoteAddr()
getRemoteAddr
in interface ServletRequest
public String getRemoteHost()
getRemoteHost
in interface ServletRequest
public int getRemotePort()
getRemotePort
in interface ServletRequest
public RequestDispatcher getRequestDispatcher(String arg0)
getRequestDispatcher
in interface ServletRequest
public String getScheme()
getScheme
in interface ServletRequest
public String getServerName()
getServerName
in interface ServletRequest
public int getServerPort()
getServerPort
in interface ServletRequest
public boolean isSecure()
isSecure
in interface ServletRequest
public void removeAttribute(String arg0)
removeAttribute
in interface ServletRequest
public void setAttribute(String arg0, Object arg1)
setAttribute
in interface ServletRequest
public void setCharacterEncoding(String arg0) throws UnsupportedEncodingException
setCharacterEncoding
in interface ServletRequest
UnsupportedEncodingException
public String getAuthType()
getAuthType
in interface HttpServletRequest
public String getContextPath()
getContextPath
in interface HttpServletRequest
public Cookie[] getCookies()
getCookies
in interface HttpServletRequest
public long getDateHeader(String arg0)
getDateHeader
in interface HttpServletRequest
public String getHeader(String arg0)
getHeader
in interface HttpServletRequest
public Enumeration getHeaderNames()
getHeaderNames
in interface HttpServletRequest
public Enumeration getHeaders(String arg0)
getHeaders
in interface HttpServletRequest
public int getIntHeader(String arg0)
getIntHeader
in interface HttpServletRequest
public String getMethod()
getMethod
in interface HttpServletRequest
public String getPathInfo()
getPathInfo
in interface HttpServletRequest
public String getPathTranslated()
getPathTranslated
in interface HttpServletRequest
public String getQueryString()
getQueryString
in interface HttpServletRequest
public String getRemoteUser()
getRemoteUser
in interface HttpServletRequest
public String getRequestURI()
getRequestURI
in interface HttpServletRequest
public StringBuffer getRequestURL()
getRequestURL
in interface HttpServletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface HttpServletRequest
public String getServletPath()
getServletPath
in interface HttpServletRequest
public HttpSession getSession()
getSession
in interface HttpServletRequest
public HttpSession getSession(boolean arg0)
getSession
in interface HttpServletRequest
public Principal getUserPrincipal()
getUserPrincipal
in interface HttpServletRequest
public boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie
in interface HttpServletRequest
public boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL
in interface HttpServletRequest
public boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl
in interface HttpServletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface HttpServletRequest
public boolean isUserInRole(String arg0)
isUserInRole
in interface HttpServletRequest
public boolean authenticate(HttpServletResponse response) throws IOException, ServletException
IOException
ServletException
public void login(String username, String password) throws ServletException
ServletException
public void logout() throws ServletException
ServletException
public Collection<Part> getParts() throws IOException, ServletException
IOException
ServletException
public Part getPart(String name) throws IOException, ServletException
IOException
ServletException
public ServletContext getServletContext()
public AsyncContext startAsync() throws IllegalStateException
IllegalStateException
public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException
IllegalStateException
public boolean isAsyncStarted()
public boolean isAsyncSupported()
public AsyncContext getAsyncContext()
public DispatcherType getDispatcherType()
Copyright © 2005–2017 Alfresco Software. All rights reserved.