Class ChainedRequest

  • All Implemented Interfaces:
    jakarta.servlet.http.HttpServletRequest, jakarta.servlet.ServletRequest

    public class ChainedRequest
    extends jakarta.servlet.http.HttpServletRequestWrapper
    Deprecated.
    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).
    • Field Summary

      • Fields inherited from interface jakarta.servlet.http.HttpServletRequest

        BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int getContentLength()
      Deprecated.
       
      java.lang.String getContentType()
      Deprecated.
       
      jakarta.servlet.http.Cookie[] getCookies()
      Deprecated.
       
      long getDateHeader​(java.lang.String name)
      Deprecated.
       
      java.lang.String getHeader​(java.lang.String name)
      Deprecated.
       
      java.util.Enumeration getHeaderNames()
      Deprecated.
       
      jakarta.servlet.ServletInputStream getInputStream()
      Deprecated.
       
      int getIntHeader​(java.lang.String name)
      Deprecated.
       
      java.lang.String getParameter​(java.lang.String name)
      Deprecated.
       
      java.util.Enumeration getParameterNames()
      Deprecated.
       
      java.lang.String[] getParameterValues​(java.lang.String name)
      Deprecated.
       
      jakarta.servlet.http.HttpServletRequest getProxiedHttpServletRequest()
      Deprecated.
       
      java.io.BufferedReader getReader()
      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:
        getCookies in interface jakarta.servlet.http.HttpServletRequest
        Overrides:
        getCookies in class jakarta.servlet.http.HttpServletRequestWrapper
      • getInputStream

        public jakarta.servlet.ServletInputStream getInputStream()
                                                        throws java.io.IOException
        Deprecated.
        Specified by:
        getInputStream in interface jakarta.servlet.ServletRequest
        Overrides:
        getInputStream in class jakarta.servlet.ServletRequestWrapper
        Throws:
        java.io.IOException
      • getReader

        public java.io.BufferedReader getReader()
                                         throws java.io.IOException
        Deprecated.
        Specified by:
        getReader in interface jakarta.servlet.ServletRequest
        Overrides:
        getReader in class jakarta.servlet.ServletRequestWrapper
        Throws:
        java.io.IOException
      • getProxiedHttpServletRequest

        public jakarta.servlet.http.HttpServletRequest getProxiedHttpServletRequest()
        Deprecated.
      • getHeaderNames

        public java.util.Enumeration getHeaderNames()
        Deprecated.
        Specified by:
        getHeaderNames in interface jakarta.servlet.http.HttpServletRequest
        Overrides:
        getHeaderNames in class jakarta.servlet.http.HttpServletRequestWrapper
      • getHeader

        public java.lang.String getHeader​(java.lang.String name)
        Deprecated.
        Specified by:
        getHeader in interface jakarta.servlet.http.HttpServletRequest
        Overrides:
        getHeader in class jakarta.servlet.http.HttpServletRequestWrapper
      • getIntHeader

        public int getIntHeader​(java.lang.String name)
                         throws java.lang.NumberFormatException
        Deprecated.
        Specified by:
        getIntHeader in interface jakarta.servlet.http.HttpServletRequest
        Overrides:
        getIntHeader in class jakarta.servlet.http.HttpServletRequestWrapper
        Throws:
        java.lang.NumberFormatException
      • getDateHeader

        public long getDateHeader​(java.lang.String name)
        Deprecated.
        Specified by:
        getDateHeader in interface jakarta.servlet.http.HttpServletRequest
        Overrides:
        getDateHeader in class jakarta.servlet.http.HttpServletRequestWrapper
      • getContentLength

        public int getContentLength()
        Deprecated.
        Specified by:
        getContentLength in interface jakarta.servlet.ServletRequest
        Overrides:
        getContentLength in class jakarta.servlet.ServletRequestWrapper
      • getContentType

        public java.lang.String getContentType()
        Deprecated.
        Specified by:
        getContentType in interface jakarta.servlet.ServletRequest
        Overrides:
        getContentType in class jakarta.servlet.ServletRequestWrapper
      • getParameter

        public java.lang.String getParameter​(java.lang.String name)
        Deprecated.
        Specified by:
        getParameter in interface jakarta.servlet.ServletRequest
        Overrides:
        getParameter in class jakarta.servlet.ServletRequestWrapper
      • getParameterNames

        public java.util.Enumeration getParameterNames()
        Deprecated.
        Specified by:
        getParameterNames in interface jakarta.servlet.ServletRequest
        Overrides:
        getParameterNames in class jakarta.servlet.ServletRequestWrapper
      • getParameterValues

        public java.lang.String[] getParameterValues​(java.lang.String name)
        Deprecated.
        Specified by:
        getParameterValues in interface jakarta.servlet.ServletRequest
        Overrides:
        getParameterValues in class jakarta.servlet.ServletRequestWrapper