Class HttpServletRequestProxy
java.lang.Object
com.ibm.websphere.servlet.request.HttpServletRequestProxy
- All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest
,jakarta.servlet.ServletRequest
public abstract class HttpServletRequestProxy
extends Object
implements jakarta.servlet.http.HttpServletRequest
Deprecated.
-
Field Summary
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.jakarta.servlet.http.Cookie[]
Deprecated.long
getDateHeader
(String name) Deprecated.Deprecated.Deprecated.getHeaders
(String name) Deprecated.jakarta.servlet.ServletInputStream
Deprecated.int
getIntHeader
(String name) Deprecated.Deprecated.Deprecated.Deprecated.getParameter
(String name) Deprecated.Deprecated.Deprecated.String[]
getParameterValues
(String name) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getRealPath
(String path) Deprecated.Deprecated.Deprecated.Deprecated.jakarta.servlet.ServletRequest
Deprecated.jakarta.servlet.RequestDispatcher
getRequestDispatcher
(String path) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.jakarta.servlet.http.HttpSession
Deprecated.jakarta.servlet.http.HttpSession
getSession
(boolean create) Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
isSecure()
Deprecated.boolean
isUserInRole
(String role) Deprecated.void
removeAttribute
(String name) Deprecated.void
setAttribute
(String key, Object o) Deprecated.void
setCharacterEncoding
(String encoding) Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.servlet.http.HttpServletRequest
authenticate, getPart, getParts, login, logout
Methods inherited from interface jakarta.servlet.ServletRequest
getAsyncContext, getDispatcherType, getLocalAddr, getLocalName, getLocalPort, getRemotePort, getServletContext, isAsyncStarted, isAsyncSupported, startAsync, startAsync
-
Constructor Details
-
HttpServletRequestProxy
public HttpServletRequestProxy()Deprecated.
-
-
Method Details
-
getAuthType
Deprecated.- Specified by:
getAuthType
in interfacejakarta.servlet.http.HttpServletRequest
-
getCookies
public jakarta.servlet.http.Cookie[] getCookies()Deprecated.- Specified by:
getCookies
in interfacejakarta.servlet.http.HttpServletRequest
-
getIntHeader
Deprecated.- Specified by:
getIntHeader
in interfacejakarta.servlet.http.HttpServletRequest
-
getDateHeader
Deprecated.- Specified by:
getDateHeader
in interfacejakarta.servlet.http.HttpServletRequest
-
getHeader
Deprecated.- Specified by:
getHeader
in interfacejakarta.servlet.http.HttpServletRequest
-
getHeaderNames
Deprecated.- Specified by:
getHeaderNames
in interfacejakarta.servlet.http.HttpServletRequest
-
getQueryString
Deprecated.- Specified by:
getQueryString
in interfacejakarta.servlet.http.HttpServletRequest
-
getMethod
Deprecated.- Specified by:
getMethod
in interfacejakarta.servlet.http.HttpServletRequest
-
getPathInfo
Deprecated.- Specified by:
getPathInfo
in interfacejakarta.servlet.http.HttpServletRequest
-
getPathTranslated
Deprecated.- Specified by:
getPathTranslated
in interfacejakarta.servlet.http.HttpServletRequest
-
getServletPath
Deprecated.- Specified by:
getServletPath
in interfacejakarta.servlet.http.HttpServletRequest
-
getRemoteUser
Deprecated.- Specified by:
getRemoteUser
in interfacejakarta.servlet.http.HttpServletRequest
-
getRequestedSessionId
Deprecated.- Specified by:
getRequestedSessionId
in interfacejakarta.servlet.http.HttpServletRequest
-
getRequestURI
Deprecated.- Specified by:
getRequestURI
in interfacejakarta.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()Deprecated.- Specified by:
isRequestedSessionIdFromCookie
in interfacejakarta.servlet.http.HttpServletRequest
-
getSession
public jakarta.servlet.http.HttpSession getSession(boolean create) Deprecated.- Specified by:
getSession
in interfacejakarta.servlet.http.HttpServletRequest
-
getSession
public jakarta.servlet.http.HttpSession getSession()Deprecated.- Specified by:
getSession
in interfacejakarta.servlet.http.HttpServletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()Deprecated.- Specified by:
isRequestedSessionIdValid
in interfacejakarta.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()Deprecated.- Specified by:
isRequestedSessionIdFromURL
in interfacejakarta.servlet.http.HttpServletRequest
-
isRequestedSessionIdFromUrl
public boolean isRequestedSessionIdFromUrl()Deprecated.- Specified by:
isRequestedSessionIdFromUrl
in interfacejakarta.servlet.http.HttpServletRequest
-
getHeaders
Deprecated.- Specified by:
getHeaders
in interfacejakarta.servlet.http.HttpServletRequest
-
getContextPath
Deprecated.- Specified by:
getContextPath
in interfacejakarta.servlet.http.HttpServletRequest
-
isUserInRole
Deprecated.- Specified by:
isUserInRole
in interfacejakarta.servlet.http.HttpServletRequest
-
getUserPrincipal
Deprecated.- Specified by:
getUserPrincipal
in interfacejakarta.servlet.http.HttpServletRequest
-
getRequestURL
Deprecated.- Specified by:
getRequestURL
in interfacejakarta.servlet.http.HttpServletRequest
-
getAttribute
Deprecated.- Specified by:
getAttribute
in interfacejakarta.servlet.ServletRequest
-
getAttributeNames
Deprecated.- Specified by:
getAttributeNames
in interfacejakarta.servlet.ServletRequest
-
getInputStream
Deprecated.- Specified by:
getInputStream
in interfacejakarta.servlet.ServletRequest
- Throws:
IOException
-
getCharacterEncoding
Deprecated.- Specified by:
getCharacterEncoding
in interfacejakarta.servlet.ServletRequest
-
getContentLength
public int getContentLength()Deprecated.- Specified by:
getContentLength
in interfacejakarta.servlet.ServletRequest
-
getContentType
Deprecated.- Specified by:
getContentType
in interfacejakarta.servlet.ServletRequest
-
getProtocol
Deprecated.- Specified by:
getProtocol
in interfacejakarta.servlet.ServletRequest
-
getParameter
Deprecated.- Specified by:
getParameter
in interfacejakarta.servlet.ServletRequest
-
getParameterNames
Deprecated.- Specified by:
getParameterNames
in interfacejakarta.servlet.ServletRequest
-
getParameterValues
Deprecated.- Specified by:
getParameterValues
in interfacejakarta.servlet.ServletRequest
-
getScheme
Deprecated.- Specified by:
getScheme
in interfacejakarta.servlet.ServletRequest
-
getServerName
Deprecated.- Specified by:
getServerName
in interfacejakarta.servlet.ServletRequest
-
getServerPort
public int getServerPort()Deprecated.- Specified by:
getServerPort
in interfacejakarta.servlet.ServletRequest
-
getRealPath
Deprecated.- Specified by:
getRealPath
in interfacejakarta.servlet.ServletRequest
-
getReader
Deprecated.- Specified by:
getReader
in interfacejakarta.servlet.ServletRequest
- Throws:
IOException
-
getRemoteAddr
Deprecated.- Specified by:
getRemoteAddr
in interfacejakarta.servlet.ServletRequest
-
getRemoteHost
Deprecated.- Specified by:
getRemoteHost
in interfacejakarta.servlet.ServletRequest
-
setAttribute
Deprecated.- Specified by:
setAttribute
in interfacejakarta.servlet.ServletRequest
-
removeAttribute
Deprecated.- Specified by:
removeAttribute
in interfacejakarta.servlet.ServletRequest
-
getLocale
Deprecated.- Specified by:
getLocale
in interfacejakarta.servlet.ServletRequest
-
getLocales
Deprecated.- Specified by:
getLocales
in interfacejakarta.servlet.ServletRequest
-
isSecure
public boolean isSecure()Deprecated.- Specified by:
isSecure
in interfacejakarta.servlet.ServletRequest
-
getRequestDispatcher
Deprecated.- Specified by:
getRequestDispatcher
in interfacejakarta.servlet.ServletRequest
-
getRequest
public jakarta.servlet.ServletRequest getRequest()Deprecated. -
getParameterMap
Deprecated.- Specified by:
getParameterMap
in interfacejakarta.servlet.ServletRequest
-
setCharacterEncoding
Deprecated.- Specified by:
setCharacterEncoding
in interfacejakarta.servlet.ServletRequest
- Throws:
UnsupportedEncodingException
-
Using the proxied request:
Sample subclass (overloads the request's InputStream)
Using the enhanced request subclass transparently in a servlet