|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
IOExceptionpublic Object get(String name)
name - public Enumeration getParameterNames()
getParameterNames in interface ServletRequestpublic String getParameter(String name)
getParameter in interface ServletRequestname - public String[] getParameterValues(String name)
getParameterValues in interface ServletRequestname - public Object getAttribute(String name)
getAttribute in interface ServletRequestname - public Enumeration getAttributeNames()
getAttributeNames in interface ServletRequestpublic String getCharacterEncoding()
getCharacterEncoding in interface ServletRequestpublic int getContentLength()
getContentLength in interface ServletRequestpublic String getContentType()
getContentType in interface ServletRequest
public ServletInputStream getInputStream()
throws IOException
getInputStream in interface ServletRequestIOExceptionpublic String getProtocol()
getProtocol in interface ServletRequestpublic String getScheme()
getScheme in interface ServletRequestpublic String getServerName()
getServerName in interface ServletRequestpublic int getServerPort()
getServerPort in interface ServletRequest
public BufferedReader getReader()
throws IOException
getReader in interface ServletRequestIOExceptionpublic String getRemoteAddr()
getRemoteAddr in interface ServletRequestpublic String getRemoteHost()
getRemoteHost in interface ServletRequest
public void setAttribute(String name,
Object o)
setAttribute in interface ServletRequestname - o - public void removeAttribute(String name)
removeAttribute in interface ServletRequestname - public Locale getLocale()
getLocale in interface ServletRequestpublic Enumeration getLocales()
getLocales in interface ServletRequestpublic boolean isSecure()
isSecure in interface ServletRequestpublic RequestDispatcher getRequestDispatcher(String path)
getRequestDispatcher in interface ServletRequestpath - public String getRealPath(String path)
getRealPath in interface ServletRequestpath - public String getAuthType()
getAuthType in interface HttpServletRequestpublic Cookie[] getCookies()
getCookies in interface HttpServletRequestpublic long getDateHeader(String name)
getDateHeader in interface HttpServletRequestname - public String getHeader(String name)
getHeader in interface HttpServletRequestname - public Enumeration getHeaders(String name)
getHeaders in interface HttpServletRequestname - public Enumeration getHeaderNames()
getHeaderNames in interface HttpServletRequestpublic int getIntHeader(String name)
getIntHeader in interface HttpServletRequestname - public String getMethod()
getMethod in interface HttpServletRequestpublic String getPathInfo()
getPathInfo in interface HttpServletRequestpublic String getPathTranslated()
getPathTranslated in interface HttpServletRequestpublic String getContextPath()
getContextPath in interface HttpServletRequestpublic String getQueryString()
getQueryString in interface HttpServletRequestpublic String getRemoteUser()
getRemoteUser in interface HttpServletRequestpublic boolean isUserInRole(String role)
isUserInRole in interface HttpServletRequestrole - public Principal getUserPrincipal()
getUserPrincipal in interface HttpServletRequestpublic String getRequestedSessionId()
getRequestedSessionId in interface HttpServletRequestpublic String getRequestURI()
getRequestURI in interface HttpServletRequestpublic String getServletPath()
getServletPath in interface HttpServletRequestpublic HttpSession getSession(boolean create)
getSession in interface HttpServletRequestcreate - public HttpSession getSession()
getSession in interface HttpServletRequestpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid in interface HttpServletRequestpublic boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie in interface HttpServletRequestpublic boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL in interface HttpServletRequestpublic boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromURL() instead
isRequestedSessionIdFromUrl in interface HttpServletRequestpublic 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 | |||||||||