Module java.base
Package java.net

Enum Class Authenticator.RequestorType

java.lang.Object
java.lang.Enum<Authenticator.RequestorType>
java.net.Authenticator.RequestorType
所有已实现的接口:
Serializable, Comparable<Authenticator.RequestorType>, Constable
封装类:
Authenticator

public static enum Authenticator.RequestorType extends Enum<Authenticator.RequestorType>
请求身份验证的实体类型。
自版本:
1.5
  • Enum Constant Details

  • Method Details

    • values

      public static Authenticator.RequestorType[] values()
      返回包含此枚举类的常量的数组,按照它们声明的顺序。
      返回:
      包含此枚举类的常量的数组,按照它们声明的顺序。
    • valueOf

      public static Authenticator.RequestorType valueOf(String name)
      返回具有指定名称的此类的枚举常量。字符串必须与在此类中声明枚举常量时使用的标识符完全匹配。(不允许存在多余的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      具有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果此枚举类没有具有指定名称的常量
      NullPointerException - 如果参数为null