クラス FirewalledRequest

  • 実装済みのインターフェース一覧:
    javax.servlet.http.HttpServletRequestjavax.servlet.ServletRequest

    public abstract class FirewalledRequest
    extends javax.servlet.http.HttpServletRequestWrapper
    HttpFirewall インターフェースによって返されるリクエストラッパー。

    唯一の違いは、リクエストがセキュリティフィルターチェーンを離れたときに、一部またはすべての状態を FilterChainProxy によってリセットできる reset メソッドです。

    • フィールド概要

      • インターフェース javax.servlet.http.HttpServletRequest から継承されたフィールド

        BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
    • コンストラクター概要

      コンストラクター  
      コンストラクター 説明
      FirewalledRequest​(javax.servlet.http.HttpServletRequest request)
      指定されたリクエストをラップするリクエストオブジェクトを構築します。
    • 方法の概要

      すべてのメソッド   インスタンスメソッド   抽象メソッド   具象メソッド  
      修飾子と型 メソッド 説明
      abstract voidreset()
      このメソッドは、リクエストがセキュリティフィルターチェーンを通過すると、適切なアプリケーションに進む直前に呼び出されます。
      java.lang.StringtoString()
      • クラス javax.servlet.http.HttpServletRequestWrapper から継承されたメソッド

        authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
      • クラス javax.servlet.ServletRequestWrapper から継承されたメソッド

        getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • インターフェース javax.servlet.ServletRequest から継承されたメソッド

        getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
    • コンストラクターの詳細

      • FirewalledRequest

        public FirewalledRequest​(javax.servlet.http.HttpServletRequest request)
        指定されたリクエストをラップするリクエストオブジェクトを構築します。
        例外:
        java.lang.IllegalArgumentException - リクエストが null の場合
    • メソッドの詳細

      • reset

        public abstract void reset()
        このメソッドは、リクエストがセキュリティフィルターチェーンを通過すると、適切なアプリケーションに進む直前に呼び出されます。

        実装は、元の HttpServletRequest を維持しながら、セキュリティインフラストラクチャのリクエストの状態を変更することを選択できます。

      • toString

        public java.lang.String toString()
        オーバーライド:
        クラス java.lang.ObjecttoString