Enum Class CefriumProxyMode

java.lang.Object
java.lang.Enum<CefriumProxyMode>
com.cefrium.CefriumProxyMode
All Implemented Interfaces:
Serializable, Comparable<CefriumProxyMode>, Constable

@CefriumExperimental public enum CefriumProxyMode extends Enum<CefriumProxyMode>
How a profile reaches the network. See CefriumProfile.setProxy(CefriumProxyMode, String).
  • Enum Constant Details

    • DIRECT

      public static final CefriumProxyMode DIRECT
      No proxy.
    • SYSTEM

      public static final CefriumProxyMode SYSTEM
      The system's proxy settings.
    • AUTO_DETECT

      public static final CefriumProxyMode AUTO_DETECT
      Find the proxy with WPAD.
    • FIXED

      public static final CefriumProxyMode FIXED
      One proxy: "host:port" or "scheme://host:port".
    • PAC

      public static final CefriumProxyMode PAC
      A PAC script at a URL.
  • Method Details

    • values

      public static CefriumProxyMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CefriumProxyMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null