Class NullHttpServletRequest

java.lang.Object
com.broadleafcommerce.common.extension.intercommunication.NullHttpServletRequest
All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest, jakarta.servlet.ServletRequest

@Deprecated(forRemoval=true) public class NullHttpServletRequest extends Object implements jakarta.servlet.http.HttpServletRequest
Deprecated, for removal: This API element is subject to removal in a future version.
use the facilities in com.broadleafcommerce.data.tracking.core.interlink.DefaultInterlinkClient instead.
A servlet request instance that provides no-op values.
  • Field Summary

    Fields inherited from interface jakarta.servlet.http.HttpServletRequest

    BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    authenticate(jakarta.servlet.http.HttpServletResponse httpServletResponse)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.AsyncContext
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.http.Cookie[]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.DispatcherType
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.ServletInputStream
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.http.Part
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Collection<jakarta.servlet.http.Part>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.RequestDispatcher
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.ServletConnection
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.ServletContext
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.http.HttpSession
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.http.HttpSession
    getSession(boolean b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.AsyncContext
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    jakarta.servlet.AsyncContext
    startAsync(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    <T extends jakarta.servlet.http.HttpUpgradeHandler>
    T
    upgrade(Class<T> aClass)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.servlet.http.HttpServletRequest

    getHttpServletMapping, getTrailerFields, isTrailerFieldsReady, newPushBuilder

    Methods inherited from interface jakarta.servlet.ServletRequest

    setCharacterEncoding
  • Constructor Details

    • NullHttpServletRequest

      public NullHttpServletRequest()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getAuthType

      public String getAuthType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getAuthType in interface jakarta.servlet.http.HttpServletRequest
    • getCookies

      public jakarta.servlet.http.Cookie[] getCookies()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getCookies in interface jakarta.servlet.http.HttpServletRequest
    • getDateHeader

      public long getDateHeader(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDateHeader in interface jakarta.servlet.http.HttpServletRequest
    • getHeader

      public String getHeader(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getHeader in interface jakarta.servlet.http.HttpServletRequest
    • getHeaders

      public Enumeration<String> getHeaders(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getHeaders in interface jakarta.servlet.http.HttpServletRequest
    • getHeaderNames

      public Enumeration<String> getHeaderNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getHeaderNames in interface jakarta.servlet.http.HttpServletRequest
    • getIntHeader

      public int getIntHeader(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getIntHeader in interface jakarta.servlet.http.HttpServletRequest
    • getMethod

      public String getMethod()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getMethod in interface jakarta.servlet.http.HttpServletRequest
    • getPathInfo

      public String getPathInfo()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPathInfo in interface jakarta.servlet.http.HttpServletRequest
    • getPathTranslated

      public String getPathTranslated()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPathTranslated in interface jakarta.servlet.http.HttpServletRequest
    • getContextPath

      public String getContextPath()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getContextPath in interface jakarta.servlet.http.HttpServletRequest
    • getQueryString

      public String getQueryString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getQueryString in interface jakarta.servlet.http.HttpServletRequest
    • getRemoteUser

      public String getRemoteUser()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRemoteUser in interface jakarta.servlet.http.HttpServletRequest
    • isUserInRole

      public boolean isUserInRole(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isUserInRole in interface jakarta.servlet.http.HttpServletRequest
    • getUserPrincipal

      public Principal getUserPrincipal()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getUserPrincipal in interface jakarta.servlet.http.HttpServletRequest
    • getRequestedSessionId

      public String getRequestedSessionId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRequestedSessionId in interface jakarta.servlet.http.HttpServletRequest
    • getRequestURI

      public String getRequestURI()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRequestURI in interface jakarta.servlet.http.HttpServletRequest
    • getRequestURL

      public StringBuffer getRequestURL()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRequestURL in interface jakarta.servlet.http.HttpServletRequest
    • getServletPath

      public String getServletPath()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getServletPath in interface jakarta.servlet.http.HttpServletRequest
    • getSession

      public jakarta.servlet.http.HttpSession getSession(boolean b)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSession in interface jakarta.servlet.http.HttpServletRequest
    • getSession

      public jakarta.servlet.http.HttpSession getSession()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSession in interface jakarta.servlet.http.HttpServletRequest
    • changeSessionId

      public String changeSessionId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      changeSessionId in interface jakarta.servlet.http.HttpServletRequest
    • isRequestedSessionIdValid

      public boolean isRequestedSessionIdValid()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isRequestedSessionIdValid in interface jakarta.servlet.http.HttpServletRequest
    • isRequestedSessionIdFromCookie

      public boolean isRequestedSessionIdFromCookie()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isRequestedSessionIdFromCookie in interface jakarta.servlet.http.HttpServletRequest
    • isRequestedSessionIdFromURL

      public boolean isRequestedSessionIdFromURL()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isRequestedSessionIdFromURL in interface jakarta.servlet.http.HttpServletRequest
    • authenticate

      public boolean authenticate(jakarta.servlet.http.HttpServletResponse httpServletResponse) throws IOException, jakarta.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      authenticate in interface jakarta.servlet.http.HttpServletRequest
      Throws:
      IOException
      jakarta.servlet.ServletException
    • login

      public void login(String s, String s1) throws jakarta.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      login in interface jakarta.servlet.http.HttpServletRequest
      Throws:
      jakarta.servlet.ServletException
    • logout

      public void logout() throws jakarta.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      logout in interface jakarta.servlet.http.HttpServletRequest
      Throws:
      jakarta.servlet.ServletException
    • getParts

      public Collection<jakarta.servlet.http.Part> getParts() throws IOException, jakarta.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getParts in interface jakarta.servlet.http.HttpServletRequest
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getPart

      public jakarta.servlet.http.Part getPart(String s) throws IOException, jakarta.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPart in interface jakarta.servlet.http.HttpServletRequest
      Throws:
      IOException
      jakarta.servlet.ServletException
    • upgrade

      public <T extends jakarta.servlet.http.HttpUpgradeHandler> T upgrade(Class<T> aClass) throws IOException, jakarta.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      upgrade in interface jakarta.servlet.http.HttpServletRequest
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getAttribute

      public Object getAttribute(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getAttribute in interface jakarta.servlet.ServletRequest
    • getAttributeNames

      public Enumeration<String> getAttributeNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getAttributeNames in interface jakarta.servlet.ServletRequest
    • getCharacterEncoding

      public String getCharacterEncoding()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getCharacterEncoding in interface jakarta.servlet.ServletRequest
    • setCharacterEncoding

      public void setCharacterEncoding(String s) throws UnsupportedEncodingException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setCharacterEncoding in interface jakarta.servlet.ServletRequest
      Throws:
      UnsupportedEncodingException
    • getContentLength

      public int getContentLength()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getContentLength in interface jakarta.servlet.ServletRequest
    • getContentLengthLong

      public long getContentLengthLong()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getContentLengthLong in interface jakarta.servlet.ServletRequest
    • getContentType

      public String getContentType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getContentType in interface jakarta.servlet.ServletRequest
    • getInputStream

      public jakarta.servlet.ServletInputStream getInputStream() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getInputStream in interface jakarta.servlet.ServletRequest
      Throws:
      IOException
    • getParameter

      public String getParameter(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getParameter in interface jakarta.servlet.ServletRequest
    • getParameterNames

      public Enumeration<String> getParameterNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getParameterNames in interface jakarta.servlet.ServletRequest
    • getParameterValues

      public String[] getParameterValues(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getParameterValues in interface jakarta.servlet.ServletRequest
    • getParameterMap

      public Map<String,String[]> getParameterMap()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getParameterMap in interface jakarta.servlet.ServletRequest
    • getProtocol

      public String getProtocol()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getProtocol in interface jakarta.servlet.ServletRequest
    • getScheme

      public String getScheme()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getScheme in interface jakarta.servlet.ServletRequest
    • getServerName

      public String getServerName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getServerName in interface jakarta.servlet.ServletRequest
    • getServerPort

      public int getServerPort()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getServerPort in interface jakarta.servlet.ServletRequest
    • getReader

      public BufferedReader getReader() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getReader in interface jakarta.servlet.ServletRequest
      Throws:
      IOException
    • getRemoteAddr

      public String getRemoteAddr()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRemoteAddr in interface jakarta.servlet.ServletRequest
    • getRemoteHost

      public String getRemoteHost()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRemoteHost in interface jakarta.servlet.ServletRequest
    • setAttribute

      public void setAttribute(String s, Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setAttribute in interface jakarta.servlet.ServletRequest
    • removeAttribute

      public void removeAttribute(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      removeAttribute in interface jakarta.servlet.ServletRequest
    • getLocale

      public Locale getLocale()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLocale in interface jakarta.servlet.ServletRequest
    • getLocales

      public Enumeration<Locale> getLocales()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLocales in interface jakarta.servlet.ServletRequest
    • isSecure

      public boolean isSecure()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isSecure in interface jakarta.servlet.ServletRequest
    • getRequestDispatcher

      public jakarta.servlet.RequestDispatcher getRequestDispatcher(String s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRequestDispatcher in interface jakarta.servlet.ServletRequest
    • getRemotePort

      public int getRemotePort()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRemotePort in interface jakarta.servlet.ServletRequest
    • getLocalName

      public String getLocalName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLocalName in interface jakarta.servlet.ServletRequest
    • getLocalAddr

      public String getLocalAddr()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLocalAddr in interface jakarta.servlet.ServletRequest
    • getLocalPort

      public int getLocalPort()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLocalPort in interface jakarta.servlet.ServletRequest
    • getServletContext

      public jakarta.servlet.ServletContext getServletContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getServletContext in interface jakarta.servlet.ServletRequest
    • startAsync

      public jakarta.servlet.AsyncContext startAsync() throws IllegalStateException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      startAsync in interface jakarta.servlet.ServletRequest
      Throws:
      IllegalStateException
    • startAsync

      public jakarta.servlet.AsyncContext startAsync(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse) throws IllegalStateException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      startAsync in interface jakarta.servlet.ServletRequest
      Throws:
      IllegalStateException
    • isAsyncStarted

      public boolean isAsyncStarted()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isAsyncStarted in interface jakarta.servlet.ServletRequest
    • isAsyncSupported

      public boolean isAsyncSupported()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isAsyncSupported in interface jakarta.servlet.ServletRequest
    • getAsyncContext

      public jakarta.servlet.AsyncContext getAsyncContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getAsyncContext in interface jakarta.servlet.ServletRequest
    • getDispatcherType

      public jakarta.servlet.DispatcherType getDispatcherType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDispatcherType in interface jakarta.servlet.ServletRequest
    • getRequestId

      public String getRequestId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRequestId in interface jakarta.servlet.ServletRequest
    • getProtocolRequestId

      public String getProtocolRequestId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getProtocolRequestId in interface jakarta.servlet.ServletRequest
    • getServletConnection

      public jakarta.servlet.ServletConnection getServletConnection()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getServletConnection in interface jakarta.servlet.ServletRequest