|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.servlet.multipart.MultipartHttpServletRequest
public class MultipartHttpServletRequest
Servlet request wrapper for multipart parser.
Constructor Summary | |
---|---|
MultipartHttpServletRequest(HttpServletRequest request,
Hashtable values)
Create this wrapper around the given request and including the given parts. |
Method Summary | |
---|---|
void |
cleanup()
Cleanup eventually uploaded parts that were saved on disk |
Object |
get(String name)
Method get |
Object |
getAttribute(String name)
Method getAttribute |
Enumeration |
getAttributeNames()
Method getAttributeNames |
String |
getAuthType()
Method getAuthType |
String |
getCharacterEncoding()
Method getCharacterEncoding |
int |
getContentLength()
Method getContentLength |
String |
getContentType()
Method getContentType |
String |
getContextPath()
Method getContextPath |
Cookie[] |
getCookies()
Method getCookies |
long |
getDateHeader(String name)
Method getDateHeader |
String |
getHeader(String name)
Method getHeader |
Enumeration |
getHeaderNames()
Method getHeaderNames |
Enumeration |
getHeaders(String name)
Method getHeaders |
ServletInputStream |
getInputStream()
Method getInputStream |
int |
getIntHeader(String name)
Method getIntHeader |
Locale |
getLocale()
Method getLocale |
Enumeration |
getLocales()
Method getLocales |
String |
getMethod()
Method getMethod |
String |
getParameter(String name)
Method getParameter |
Map |
getParameterMap()
|
Enumeration |
getParameterNames()
Method getParameterNames |
String[] |
getParameterValues(String name)
Method getParameterValues |
String |
getPathInfo()
Method getPathInfo |
String |
getPathTranslated()
Method getPathTranslated |
String |
getProtocol()
Method getProtocol |
String |
getQueryString()
Method getQueryString |
BufferedReader |
getReader()
Method getReader |
String |
getRealPath(String path)
Method getRealPath |
String |
getRemoteAddr()
Method getRemoteAddr |
String |
getRemoteHost()
Method getRemoteHost |
String |
getRemoteUser()
Method getRemoteUser |
RequestDispatcher |
getRequestDispatcher(String path)
Method getRequestDispatcher |
String |
getRequestedSessionId()
Method getRequestedSessionId |
String |
getRequestURI()
Method getRequestURI |
StringBuffer |
getRequestURL()
|
String |
getScheme()
Method getScheme |
String |
getServerName()
Method getServerName |
int |
getServerPort()
Method getServerPort |
String |
getServletPath()
Method getServletPath |
HttpSession |
getSession()
Method getSession |
HttpSession |
getSession(boolean create)
Method getSession |
Principal |
getUserPrincipal()
Method getUserPrincipal |
boolean |
isRequestedSessionIdFromCookie()
Method isRequestedSessionIdFromCookie |
boolean |
isRequestedSessionIdFromUrl()
Deprecated. use isRequestedSessionIdFromURL() instead |
boolean |
isRequestedSessionIdFromURL()
Method isRequestedSessionIdFromURL |
boolean |
isRequestedSessionIdValid()
Method isRequestedSessionIdValid |
boolean |
isSecure()
Method isSecure |
boolean |
isUserInRole(String role)
Method isUserInRole |
void |
removeAttribute(String name)
Method removeAttribute |
void |
setAttribute(String name,
Object o)
Method setAttribute |
void |
setCharacterEncoding(String arg0)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipartHttpServletRequest(HttpServletRequest request, Hashtable values)
Method Detail |
---|
public void cleanup() throws IOException
IOException
public Object get(String name)
name
- public Enumeration getParameterNames()
getParameterNames
in interface ServletRequest
public String getParameter(String name)
getParameter
in interface ServletRequest
name
- public String[] getParameterValues(String name)
getParameterValues
in interface ServletRequest
name
- public Object getAttribute(String name)
getAttribute
in interface ServletRequest
name
- 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 getProtocol()
getProtocol
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 BufferedReader getReader() throws IOException
getReader
in interface ServletRequest
IOException
public String getRemoteAddr()
getRemoteAddr
in interface ServletRequest
public String getRemoteHost()
getRemoteHost
in interface ServletRequest
public void setAttribute(String name, Object o)
setAttribute
in interface ServletRequest
name
- o
- public void removeAttribute(String name)
removeAttribute
in interface ServletRequest
name
- public Locale getLocale()
getLocale
in interface ServletRequest
public Enumeration getLocales()
getLocales
in interface ServletRequest
public boolean isSecure()
isSecure
in interface ServletRequest
public RequestDispatcher getRequestDispatcher(String path)
getRequestDispatcher
in interface ServletRequest
path
- public String getRealPath(String path)
getRealPath
in interface ServletRequest
path
- public String getAuthType()
getAuthType
in interface HttpServletRequest
public Cookie[] getCookies()
getCookies
in interface HttpServletRequest
public long getDateHeader(String name)
getDateHeader
in interface HttpServletRequest
name
- public String getHeader(String name)
getHeader
in interface HttpServletRequest
name
- public Enumeration getHeaders(String name)
getHeaders
in interface HttpServletRequest
name
- public Enumeration getHeaderNames()
getHeaderNames
in interface HttpServletRequest
public int getIntHeader(String name)
getIntHeader
in interface HttpServletRequest
name
- public String getMethod()
getMethod
in interface HttpServletRequest
public String getPathInfo()
getPathInfo
in interface HttpServletRequest
public String getPathTranslated()
getPathTranslated
in interface HttpServletRequest
public String getContextPath()
getContextPath
in interface HttpServletRequest
public String getQueryString()
getQueryString
in interface HttpServletRequest
public String getRemoteUser()
getRemoteUser
in interface HttpServletRequest
public boolean isUserInRole(String role)
isUserInRole
in interface HttpServletRequest
role
- public Principal getUserPrincipal()
getUserPrincipal
in interface HttpServletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface HttpServletRequest
public String getRequestURI()
getRequestURI
in interface HttpServletRequest
public String getServletPath()
getServletPath
in interface HttpServletRequest
public HttpSession getSession(boolean create)
getSession
in interface HttpServletRequest
create
- public HttpSession getSession()
getSession
in interface HttpServletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface HttpServletRequest
public boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie
in interface HttpServletRequest
public boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL
in interface HttpServletRequest
public boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromURL()
instead
isRequestedSessionIdFromUrl
in interface HttpServletRequest
public StringBuffer getRequestURL()
public Map getParameterMap()
public void setCharacterEncoding(String arg0) throws UnsupportedEncodingException
UnsupportedEncodingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |