Класс 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 должен также установить все необходимые заголовки ответа в данном HttpExchange перед возвращением объекта Retry.
Краткое описание конструкторов
| Конструктор | Описание |
|---|---|
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()
возвращает код ответа для отправки клиенту
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.httpserver/com/sun/net/httpserver/Authenticator.Retry.html