|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
okapi.tools.ToolRequest
public class ToolRequest
Class ToolRequest. Request Wrapper used by the Aggregator to collect the output from any servlet.
| Field Summary |
|---|
| Fields inherited from interface javax.servlet.http.HttpServletRequest |
|---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
| Constructor Summary | |
|---|---|
ToolRequest(javax.servlet.http.HttpServletRequest request)
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
Method equals |
protected void |
finalize()
|
java.lang.Object |
getAttribute(java.lang.String name)
Method getAttribute |
java.util.Enumeration |
getAttributeNames()
Method getAttributeNames |
java.lang.String |
getAuthType()
Method getAuthType |
java.lang.String |
getCharacterEncoding()
Method getCharacterEncoding |
int |
getContentLength()
Method getContentLength |
java.lang.String |
getContentType()
Method getContentType |
java.lang.String |
getContextPath()
Method getContextPath |
javax.servlet.http.Cookie[] |
getCookies()
Method getCookies |
long |
getDateHeader(java.lang.String name)
Method getDateHeader |
java.lang.String |
getHeader(java.lang.String name)
Method getHeader |
java.util.Enumeration |
getHeaderNames()
Method getHeaderNames |
java.util.Enumeration |
getHeaders(java.lang.String name)
Method getHeaders |
javax.servlet.ServletInputStream |
getInputStream()
Method getInputStream |
int |
getIntHeader(java.lang.String name)
Method getIntHeader |
java.lang.String |
getLocalAddr()
Method getLocalAddr |
java.util.Locale |
getLocale()
Method getLocale |
java.util.Enumeration |
getLocales()
Method getLocales |
java.lang.String |
getLocalName()
Method getLocalName |
int |
getLocalPort()
Method getLocalPort |
java.lang.String |
getMethod()
Method getMethod |
java.lang.String |
getParameter(java.lang.String name)
Method getParameter |
java.util.Map |
getParameterMap()
Method getParameterMap |
java.util.Enumeration |
getParameterNames()
Method getParameterNames |
java.lang.String[] |
getParameterValues(java.lang.String name)
Method getParameterValues |
java.lang.String |
getPathInfo()
Method getPathInfo |
java.lang.String |
getPathTranslated()
Method getPathTranslated |
java.lang.String |
getProtocol()
Method getProtocol |
java.lang.String |
getQueryString()
Method getQueryString |
java.io.BufferedReader |
getReader()
Method getReader |
java.lang.String |
getRealPath(java.lang.String path)
Method getRealPath |
java.lang.String |
getRemoteAddr()
Method getRemoteAddr |
java.lang.String |
getRemoteHost()
Method getRemoteHost |
int |
getRemotePort()
Method getRemotePort |
java.lang.String |
getRemoteUser()
Method getRemoteUser. |
javax.servlet.ServletRequest |
getRequest()
Method getRequest |
javax.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String path)
Method getRequestDispatcher |
java.lang.String |
getRequestedSessionId()
Method getRequestedSessionId |
java.lang.String |
getRequestURI()
Method getRequestURI |
java.lang.StringBuffer |
getRequestURL()
Method getRequestURL |
java.lang.String |
getScheme()
Method getScheme |
java.lang.String |
getServerName()
Method getServerName |
int |
getServerPort()
Method getServerPort |
java.lang.String |
getServletPath()
Method getServletPath |
javax.servlet.http.HttpSession |
getSession()
Method getSession |
javax.servlet.http.HttpSession |
getSession(boolean create)
Method getSession |
java.security.Principal |
getUserPrincipal()
Method getUserPrincipal |
int |
hashCode()
Method hashCode |
boolean |
isRequestedSessionIdFromCookie()
Method isRequestedSessionIdFromCookie |
boolean |
isRequestedSessionIdFromUrl()
Method isRequestedSessionIdFromUrl |
boolean |
isRequestedSessionIdFromURL()
Method isRequestedSessionIdFromURL |
boolean |
isRequestedSessionIdValid()
Method isRequestedSessionIdValid |
boolean |
isSecure()
Method isSecure |
boolean |
isUserInRole(java.lang.String role)
Method isUserInRole |
void |
removeAttribute(java.lang.String name)
Method removeAttribute |
void |
setAttribute(java.lang.String name,
java.lang.Object o)
Method setAttribute |
void |
setCharacterEncoding(java.lang.String enc)
Method setCharacterEncoding |
void |
setContextPath(java.lang.String path)
Method setContextPath SAKAI |
void |
setPathInfo(java.lang.String path)
Method setPathInfo SAKAI |
void |
setRequest(javax.servlet.ServletRequest request)
Method setRequest |
java.lang.String |
toString()
Method toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ToolRequest(javax.servlet.http.HttpServletRequest request)
request - | Method Detail |
|---|
public java.lang.String getAuthType()
getAuthType in interface javax.servlet.http.HttpServletRequestgetAuthType in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getContextPath()
getContextPath in interface javax.servlet.http.HttpServletRequestgetContextPath in class javax.servlet.http.HttpServletRequestWrapperpublic void setContextPath(java.lang.String path)
path - public javax.servlet.http.Cookie[] getCookies()
getCookies in interface javax.servlet.http.HttpServletRequestgetCookies in class javax.servlet.http.HttpServletRequestWrapperpublic long getDateHeader(java.lang.String name)
getDateHeader in interface javax.servlet.http.HttpServletRequestgetDateHeader in class javax.servlet.http.HttpServletRequestWrappername -
public java.lang.String getHeader(java.lang.String name)
getHeader in interface javax.servlet.http.HttpServletRequestgetHeader in class javax.servlet.http.HttpServletRequestWrappername -
public java.util.Enumeration getHeaderNames()
getHeaderNames in interface javax.servlet.http.HttpServletRequestgetHeaderNames in class javax.servlet.http.HttpServletRequestWrapperpublic java.util.Enumeration getHeaders(java.lang.String name)
getHeaders in interface javax.servlet.http.HttpServletRequestgetHeaders in class javax.servlet.http.HttpServletRequestWrappername -
public int getIntHeader(java.lang.String name)
getIntHeader in interface javax.servlet.http.HttpServletRequestgetIntHeader in class javax.servlet.http.HttpServletRequestWrappername -
public java.lang.String getMethod()
getMethod in interface javax.servlet.http.HttpServletRequestgetMethod in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getPathInfo()
getPathInfo in interface javax.servlet.http.HttpServletRequestgetPathInfo in class javax.servlet.http.HttpServletRequestWrapperpublic void setPathInfo(java.lang.String path)
path - public java.lang.String getPathTranslated()
getPathTranslated in interface javax.servlet.http.HttpServletRequestgetPathTranslated in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getQueryString()
getQueryString in interface javax.servlet.http.HttpServletRequestgetQueryString in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getRemoteUser()
getRemoteUser in interface javax.servlet.http.HttpServletRequestgetRemoteUser in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getRequestedSessionId()
getRequestedSessionId in interface javax.servlet.http.HttpServletRequestgetRequestedSessionId in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getRequestURI()
getRequestURI in interface javax.servlet.http.HttpServletRequestgetRequestURI in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.StringBuffer getRequestURL()
getRequestURL in interface javax.servlet.http.HttpServletRequestgetRequestURL in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getServletPath()
getServletPath in interface javax.servlet.http.HttpServletRequestgetServletPath in class javax.servlet.http.HttpServletRequestWrapperpublic javax.servlet.http.HttpSession getSession()
getSession in interface javax.servlet.http.HttpServletRequestgetSession in class javax.servlet.http.HttpServletRequestWrapperpublic javax.servlet.http.HttpSession getSession(boolean create)
getSession in interface javax.servlet.http.HttpServletRequestgetSession in class javax.servlet.http.HttpServletRequestWrappercreate -
public java.security.Principal getUserPrincipal()
getUserPrincipal in interface javax.servlet.http.HttpServletRequestgetUserPrincipal in class javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie in interface javax.servlet.http.HttpServletRequestisRequestedSessionIdFromCookie in class javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl in interface javax.servlet.http.HttpServletRequestisRequestedSessionIdFromUrl in class javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL in interface javax.servlet.http.HttpServletRequestisRequestedSessionIdFromURL in class javax.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid in interface javax.servlet.http.HttpServletRequestisRequestedSessionIdValid in class javax.servlet.http.HttpServletRequestWrapperpublic boolean isUserInRole(java.lang.String role)
isUserInRole in interface javax.servlet.http.HttpServletRequestisUserInRole in class javax.servlet.http.HttpServletRequestWrapperrole -
public javax.servlet.ServletRequest getRequest()
getRequest in class javax.servlet.ServletRequestWrapperpublic void setRequest(javax.servlet.ServletRequest request)
setRequest in class javax.servlet.ServletRequestWrapperrequest - public java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface javax.servlet.ServletRequestgetAttribute in class javax.servlet.ServletRequestWrappername -
public java.util.Enumeration getAttributeNames()
getAttributeNames in interface javax.servlet.ServletRequestgetAttributeNames in class javax.servlet.ServletRequestWrapperpublic java.lang.String getCharacterEncoding()
getCharacterEncoding in interface javax.servlet.ServletRequestgetCharacterEncoding in class javax.servlet.ServletRequestWrapper
public void setCharacterEncoding(java.lang.String enc)
throws java.io.UnsupportedEncodingException
setCharacterEncoding in interface javax.servlet.ServletRequestsetCharacterEncoding in class javax.servlet.ServletRequestWrapperenc -
java.io.UnsupportedEncodingExceptionpublic int getContentLength()
getContentLength in interface javax.servlet.ServletRequestgetContentLength in class javax.servlet.ServletRequestWrapperpublic java.lang.String getContentType()
getContentType in interface javax.servlet.ServletRequestgetContentType in class javax.servlet.ServletRequestWrapper
public javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException
getInputStream in interface javax.servlet.ServletRequestgetInputStream in class javax.servlet.ServletRequestWrapperjava.io.IOExceptionpublic java.lang.String getParameter(java.lang.String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrappername -
public java.util.Map getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperpublic java.util.Enumeration getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperpublic java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrappername -
public java.lang.String getProtocol()
getProtocol in interface javax.servlet.ServletRequestgetProtocol in class javax.servlet.ServletRequestWrapperpublic java.lang.String getScheme()
getScheme in interface javax.servlet.ServletRequestgetScheme in class javax.servlet.ServletRequestWrapperpublic java.lang.String getServerName()
getServerName in interface javax.servlet.ServletRequestgetServerName in class javax.servlet.ServletRequestWrapperpublic int getServerPort()
getServerPort in interface javax.servlet.ServletRequestgetServerPort in class javax.servlet.ServletRequestWrapper
public java.io.BufferedReader getReader()
throws java.io.IOException
getReader in interface javax.servlet.ServletRequestgetReader in class javax.servlet.ServletRequestWrapperjava.io.IOExceptionpublic java.lang.String getRemoteAddr()
getRemoteAddr in interface javax.servlet.ServletRequestgetRemoteAddr in class javax.servlet.ServletRequestWrapperpublic java.lang.String getRemoteHost()
getRemoteHost in interface javax.servlet.ServletRequestgetRemoteHost in class javax.servlet.ServletRequestWrapper
public void setAttribute(java.lang.String name,
java.lang.Object o)
setAttribute in interface javax.servlet.ServletRequestsetAttribute in class javax.servlet.ServletRequestWrappername - o - public void removeAttribute(java.lang.String name)
removeAttribute in interface javax.servlet.ServletRequestremoveAttribute in class javax.servlet.ServletRequestWrappername - public java.util.Locale getLocale()
getLocale in interface javax.servlet.ServletRequestgetLocale in class javax.servlet.ServletRequestWrapperpublic java.util.Enumeration getLocales()
getLocales in interface javax.servlet.ServletRequestgetLocales in class javax.servlet.ServletRequestWrapperpublic boolean isSecure()
isSecure in interface javax.servlet.ServletRequestisSecure in class javax.servlet.ServletRequestWrapperpublic javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String path)
getRequestDispatcher in interface javax.servlet.ServletRequestgetRequestDispatcher in class javax.servlet.ServletRequestWrapperpath -
public java.lang.String getRealPath(java.lang.String path)
getRealPath in interface javax.servlet.ServletRequestgetRealPath in class javax.servlet.ServletRequestWrapperpath -
public int getRemotePort()
getRemotePort in interface javax.servlet.ServletRequestgetRemotePort in class javax.servlet.ServletRequestWrapperpublic java.lang.String getLocalName()
getLocalName in interface javax.servlet.ServletRequestgetLocalName in class javax.servlet.ServletRequestWrapperpublic java.lang.String getLocalAddr()
getLocalAddr in interface javax.servlet.ServletRequestgetLocalAddr in class javax.servlet.ServletRequestWrapperpublic int getLocalPort()
getLocalPort in interface javax.servlet.ServletRequestgetLocalPort in class javax.servlet.ServletRequestWrapperpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto -
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
toString in class java.lang.Object
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||