Package com.ibm.websphere.servlet.filter
Class ChainedRequest
- java.lang.Object
-
- jakarta.servlet.ServletRequestWrapper
-
- jakarta.servlet.http.HttpServletRequestWrapper
-
- com.ibm.websphere.servlet.filter.ChainedRequest
-
- All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest,jakarta.servlet.ServletRequest
public class ChainedRequest extends jakarta.servlet.http.HttpServletRequestWrapperDeprecated.Application developers requiring this functionality should implement this using jakarta.servlet.filter classes.This class adapts a response from a previous servlet/jsp into a request that may be passed on for processing into another servlet/jsp. The request object passed into the constructor should be the original request so that state information can be preserved correctly (Deprecated since WebSphere 6.0).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetContentLength()Deprecated.java.lang.StringgetContentType()Deprecated.jakarta.servlet.http.Cookie[]getCookies()Deprecated.longgetDateHeader(java.lang.String name)Deprecated.java.lang.StringgetHeader(java.lang.String name)Deprecated.java.util.EnumerationgetHeaderNames()Deprecated.jakarta.servlet.ServletInputStreamgetInputStream()Deprecated.intgetIntHeader(java.lang.String name)Deprecated.java.lang.StringgetParameter(java.lang.String name)Deprecated.java.util.EnumerationgetParameterNames()Deprecated.java.lang.String[]getParameterValues(java.lang.String name)Deprecated.jakarta.servlet.http.HttpServletRequestgetProxiedHttpServletRequest()Deprecated.java.io.BufferedReadergetReader()Deprecated.-
Methods inherited from class jakarta.servlet.http.HttpServletRequestWrapper
authenticate, getAuthType, getContextPath, getHeaders, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout
-
Methods inherited from class jakarta.servlet.ServletRequestWrapper
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
-
-
-
Method Detail
-
getCookies
public jakarta.servlet.http.Cookie[] getCookies()
Deprecated.- Specified by:
getCookiesin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getCookiesin classjakarta.servlet.http.HttpServletRequestWrapper
-
getInputStream
public jakarta.servlet.ServletInputStream getInputStream() throws java.io.IOExceptionDeprecated.- Specified by:
getInputStreamin interfacejakarta.servlet.ServletRequest- Overrides:
getInputStreamin classjakarta.servlet.ServletRequestWrapper- Throws:
java.io.IOException
-
getReader
public java.io.BufferedReader getReader() throws java.io.IOExceptionDeprecated.- Specified by:
getReaderin interfacejakarta.servlet.ServletRequest- Overrides:
getReaderin classjakarta.servlet.ServletRequestWrapper- Throws:
java.io.IOException
-
getProxiedHttpServletRequest
public jakarta.servlet.http.HttpServletRequest getProxiedHttpServletRequest()
Deprecated.
-
getHeaderNames
public java.util.Enumeration getHeaderNames()
Deprecated.- Specified by:
getHeaderNamesin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getHeaderNamesin classjakarta.servlet.http.HttpServletRequestWrapper
-
getHeader
public java.lang.String getHeader(java.lang.String name)
Deprecated.- Specified by:
getHeaderin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getHeaderin classjakarta.servlet.http.HttpServletRequestWrapper
-
getIntHeader
public int getIntHeader(java.lang.String name) throws java.lang.NumberFormatExceptionDeprecated.- Specified by:
getIntHeaderin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getIntHeaderin classjakarta.servlet.http.HttpServletRequestWrapper- Throws:
java.lang.NumberFormatException
-
getDateHeader
public long getDateHeader(java.lang.String name)
Deprecated.- Specified by:
getDateHeaderin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getDateHeaderin classjakarta.servlet.http.HttpServletRequestWrapper
-
getContentLength
public int getContentLength()
Deprecated.- Specified by:
getContentLengthin interfacejakarta.servlet.ServletRequest- Overrides:
getContentLengthin classjakarta.servlet.ServletRequestWrapper
-
getContentType
public java.lang.String getContentType()
Deprecated.- Specified by:
getContentTypein interfacejakarta.servlet.ServletRequest- Overrides:
getContentTypein classjakarta.servlet.ServletRequestWrapper
-
getParameter
public java.lang.String getParameter(java.lang.String name)
Deprecated.- Specified by:
getParameterin interfacejakarta.servlet.ServletRequest- Overrides:
getParameterin classjakarta.servlet.ServletRequestWrapper
-
getParameterNames
public java.util.Enumeration getParameterNames()
Deprecated.- Specified by:
getParameterNamesin interfacejakarta.servlet.ServletRequest- Overrides:
getParameterNamesin classjakarta.servlet.ServletRequestWrapper
-
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
Deprecated.- Specified by:
getParameterValuesin interfacejakarta.servlet.ServletRequest- Overrides:
getParameterValuesin classjakarta.servlet.ServletRequestWrapper
-
-