モジュール jdk.httpserver
パッケージ com.sun.net.httpserver

クラスAuthenticator.Retry

java.lang.Object
com.sun.net.httpserver.Authenticator.Result
com.sun.net.httpserver.Authenticator.Retry
含まれているクラス:
Authenticator

public static class Authenticator.Retry
extends Authenticator.Result
認証を再試行する必要があることを示します。 送り返される応答コードは、getResponseCode()から返されるものと同じです。 Authenticatorは、このRetryオブジェクトを返す前に、指定されたHttpExchange内の必要な応答ヘッダーを設定しておく必要もあります。
  • コンストラクタのサマリー

    コンストラクタ
    コンストラクタ 説明
    Retry​(int responseCode)  
  • メソッドのサマリー

    修飾子と型 メソッド 説明
    int getResponseCode()
    クライアントに送信する応答コードを返します。

    クラス java.lang.Objectで宣言されたメソッド

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • コンストラクタの詳細

    • Retry

      public Retry​(int responseCode)
  • メソッドの詳細

    • getResponseCode

      public int getResponseCode()
      クライアントに送信する応答コードを返します。