Enum Proxy.ProxyState

    • Enum Constant Detail

      • PN_PROXY_NOT_STARTED

        public static final Proxy.ProxyState PN_PROXY_NOT_STARTED
        1. No connection to proxy has been made.
      • PN_PROXY_CONNECTING

        public static final Proxy.ProxyState PN_PROXY_CONNECTING
        2. Sent initial CONNECT request to proxy.
      • PN_PROXY_CHALLENGE

        public static final Proxy.ProxyState PN_PROXY_CHALLENGE
        3. Proxy has responded with a Proxy-Authorization challenge.
      • PN_PROXY_CHALLENGE_RESPONDED

        public static final Proxy.ProxyState PN_PROXY_CHALLENGE_RESPONDED
        4. Proxy has responded with a Proxy-Authorization challenge.
      • PN_PROXY_CONNECTED

        public static final Proxy.ProxyState PN_PROXY_CONNECTED
        5. Proxy has responded with a Proxy-Authorization challenge.
      • PN_PROXY_FAILED

        public static final Proxy.ProxyState PN_PROXY_FAILED
        There has been a failure connecting to proxy.
    • Method Detail

      • values

        public static Proxy.ProxyState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Proxy.ProxyState c : Proxy.ProxyState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Proxy.ProxyState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null