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

クラスAuthenticator.Retry

  • 含まれているクラス:
    Authenticator

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

      • Retry

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

      • getResponseCode

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