列挙型クラス HttpCookieHandling

java.lang.ObjectSE
java.lang.EnumSE<HttpCookieHandling>
org.springframework.boot.http.client.HttpCookieHandling
実装済みのインターフェース一覧:
SerializableSE, ComparableSE<HttpCookieHandling>, ConstableSE

public enum HttpCookieHandling extends EnumSE<HttpCookieHandling>
HTTP クライアントがサポートする Cookie 処理戦略。
導入:
4.1.0
作成者:
Apoorv Darshan
  • 列挙型定数の詳細

    • ENABLE_WHEN_POSSIBLE

      public static final HttpCookieHandling ENABLE_WHEN_POSSIBLE
      Enable cookie handling (if the underlying library has support). When enabled, cookies received in a response are stored and automatically included in subsequent matching requests.
    • ENABLE

      public static final HttpCookieHandling ENABLE
      Enable cookie handling (fail if the underlying library has no support). When enabled, cookies received in a response are stored and automatically included in subsequent matching requests.
    • DISABLE

      public static final HttpCookieHandling DISABLE
      Cookie の処理を無効にします(基盤となるライブラリがサポートしていない場合は失敗します)。
  • メソッドの詳細

    • values

      public static HttpCookieHandling[] values()
      この列挙型クラスの定数を含む配列を、宣言されている順序で返します。
      戻り値:
      この列挙型クラスの定数を宣言された順序で含む配列
    • valueOf

      public static HttpCookieHandling valueOf(StringSE name)
      指定された名前でこのクラスの列挙型定数を返します。文字列は、このクラスで列挙型定数を宣言するために使用される識別子と正確に一致する必要があります。(余分な空白文字は許可されません。)
      パラメーター:
      name - 返される列挙定数の名前。
      戻り値:
      指定された名前の列挙定数
      例外:
      IllegalArgumentExceptionSE - この列挙型クラスに指定された名前の定数がない場合
      NullPointerExceptionSE - 引数が null の場合