クラス HttpStatusReturningLogoutSuccessHandler

  • 実装されたすべてのインターフェース:
    LogoutSuccessHandler

    public class HttpStatusReturningLogoutSuccessHandler
    extends java.lang.Object
    implements LogoutSuccessHandler
    LogoutSuccessHandler の実装。デフォルトでは、200 の HTTP ステータスコードを返します。これは、ログアウトが成功したときのリダイレクトが望ましくない REST 型のシナリオで役立ちます。
    導入:
    4.0.2
    • コンストラクターの詳細

      • HttpStatusReturningLogoutSuccessHandler

        public HttpStatusReturningLogoutSuccessHandler​(org.springframework.http.HttpStatus httpStatusToReturn)
        ユーザー定義の HttpStatus で HttpStatusLogoutSuccessHandler を初期化します。
        パラメーター:
        httpStatusToReturn - null であってはなりません。
      • HttpStatusReturningLogoutSuccessHandler

        public HttpStatusReturningLogoutSuccessHandler()
        HttpStatusLogoutSuccessHandler をデフォルトの HttpStatus.OK で初期化します。