|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.util.DelegatedHttpServletRequest
public class DelegatedHttpServletRequest
Enables Melati to compile, without warnings, with the Servlet API versions 2.0 to 2.5. However the database listener and admin tests rely upon 2.4 features.
Field Summary | |
---|---|
protected javax.servlet.http.HttpServletRequest |
peer
|
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
DelegatedHttpServletRequest(javax.servlet.http.HttpServletRequest peer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.servlet.http.HttpServletRequest peer
Constructor Detail |
---|
public DelegatedHttpServletRequest(javax.servlet.http.HttpServletRequest peer)
peer
- Method Detail |
---|
public String getAuthType()
getAuthType
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getAuthType()
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getCookies()
public long getDateHeader(String a)
getDateHeader
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getDateHeader(java.lang.String)
public String getHeader(String a)
getHeader
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getHeader(java.lang.String)
public Enumeration<String> getHeaderNames()
getHeaderNames
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getHeaderNames()
public int getIntHeader(String a)
getIntHeader
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getIntHeader(java.lang.String)
public String getMethod()
getMethod
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getMethod()
public String getPathInfo()
getPathInfo
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getPathInfo()
public String getPathTranslated()
getPathTranslated
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getPathTranslated()
public String getQueryString()
getQueryString
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getQueryString()
public String getRemoteUser()
getRemoteUser
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getRemoteUser()
public String getRequestURI()
getRequestURI
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getRequestURI()
public String getRequestedSessionId()
getRequestedSessionId
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getRequestedSessionId()
public String getServletPath()
getServletPath
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getServletPath()
public javax.servlet.http.HttpSession getSession(boolean a)
getSession
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getSession(boolean)
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.isRequestedSessionIdValid()
public Object getAttribute(String a)
getAttribute
in interface javax.servlet.ServletRequest
ServletRequest.getAttribute(java.lang.String)
public String getCharacterEncoding()
getCharacterEncoding
in interface javax.servlet.ServletRequest
ServletRequest.getCharacterEncoding()
public int getContentLength()
getContentLength
in interface javax.servlet.ServletRequest
ServletRequest.getContentLength()
public String getContentType()
getContentType
in interface javax.servlet.ServletRequest
ServletRequest.getContentType()
public javax.servlet.ServletInputStream getInputStream() throws IOException
getInputStream
in interface javax.servlet.ServletRequest
IOException
ServletRequest.getInputStream()
public String getParameter(String a)
getParameter
in interface javax.servlet.ServletRequest
ServletRequest.getParameter(java.lang.String)
public Enumeration<String> getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
ServletRequest.getParameterNames()
public String[] getParameterValues(String a)
getParameterValues
in interface javax.servlet.ServletRequest
ServletRequest.getParameterValues(java.lang.String)
public String getProtocol()
getProtocol
in interface javax.servlet.ServletRequest
ServletRequest.getProtocol()
public BufferedReader getReader() throws IOException
getReader
in interface javax.servlet.ServletRequest
IOException
ServletRequest.getReader()
public String getRemoteAddr()
getRemoteAddr
in interface javax.servlet.ServletRequest
ServletRequest.getRemoteAddr()
public String getRemoteHost()
getRemoteHost
in interface javax.servlet.ServletRequest
ServletRequest.getRemoteHost()
public String getScheme()
getScheme
in interface javax.servlet.ServletRequest
ServletRequest.getScheme()
public String getServerName()
getServerName
in interface javax.servlet.ServletRequest
ServletRequest.getServerName()
public int getServerPort()
getServerPort
in interface javax.servlet.ServletRequest
ServletRequest.getServerPort()
public boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.isRequestedSessionIdFromCookie()
public boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.isRequestedSessionIdFromUrl()
public String getRealPath(String a)
getRealPath
in interface javax.servlet.ServletRequest
ServletRequest.getRealPath(java.lang.String)
public Principal getUserPrincipal()
getUserPrincipal
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getUserPrincipal()
public String getContextPath()
getContextPath
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getContextPath()
public Enumeration<String> getHeaders(String name)
getHeaders
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getHeaders(java.lang.String)
public javax.servlet.http.HttpSession getSession()
getSession
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getSession()
public boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.isRequestedSessionIdFromURL()
public boolean isUserInRole(String a)
isUserInRole
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.isUserInRole(java.lang.String)
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.servlet.ServletRequest
ServletRequest.getAttributeNames()
public Locale getLocale()
getLocale
in interface javax.servlet.ServletRequest
ServletRequest.getLocale()
public Enumeration<Locale> getLocales()
getLocales
in interface javax.servlet.ServletRequest
ServletRequest.getLocales()
public javax.servlet.RequestDispatcher getRequestDispatcher(String arg)
getRequestDispatcher
in interface javax.servlet.ServletRequest
ServletRequest.getRequestDispatcher(java.lang.String)
public boolean isSecure()
isSecure
in interface javax.servlet.ServletRequest
ServletRequest.isSecure()
public void removeAttribute(String arg)
removeAttribute
in interface javax.servlet.ServletRequest
ServletRequest.removeAttribute(java.lang.String)
public void setAttribute(String arg1, Object arg2)
setAttribute
in interface javax.servlet.ServletRequest
ServletRequest.setAttribute(java.lang.String, java.lang.Object)
public StringBuffer getRequestURL()
getRequestURL
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.getRequestURL()
public void setCharacterEncoding(String s) throws UnsupportedEncodingException
setCharacterEncoding
in interface javax.servlet.ServletRequest
UnsupportedEncodingException
ServletRequest.setCharacterEncoding(java.lang.String)
public Map<String,String[]> getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
ServletRequest.getParameterMap()
public String getLocalAddr()
getLocalAddr
in interface javax.servlet.ServletRequest
ServletRequest.getLocalAddr()
public String getLocalName()
getLocalName
in interface javax.servlet.ServletRequest
ServletRequest.getLocalName()
public int getLocalPort()
getLocalPort
in interface javax.servlet.ServletRequest
ServletRequest.getLocalPort()
public int getRemotePort()
getRemotePort
in interface javax.servlet.ServletRequest
ServletRequest.getRemotePort()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |