Enum EFcHttpRequestError

    • Enum Constant Detail

      • CLIENT_ERROR

        public static final EFcHttpRequestError CLIENT_ERROR
        When the request was successful, but the server returned a 4xx response.
      • MALFORMED_URL

        public static final EFcHttpRequestError MALFORMED_URL
        The given post URL is invalid.
      • NETWORK_FAILURE

        public static final EFcHttpRequestError NETWORK_FAILURE
        The server could not be reached, or no response was received.
      • PROCESS_ATTACHMENT_FAILED

        public static final EFcHttpRequestError PROCESS_ATTACHMENT_FAILED
        If the processing of the files to be added to the request fails
      • SERVER_ERROR

        public static final EFcHttpRequestError SERVER_ERROR
        When the request was successful, but the server returned a 5xx response.
      • XSLT_TRANSFORM_FAILED

        public static final EFcHttpRequestError XSLT_TRANSFORM_FAILED
        An XSLT template was specified, but the transform could not be applied.
    • Method Detail

      • values

        public static EFcHttpRequestError[] 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 (EFcHttpRequestError c : EFcHttpRequestError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EFcHttpRequestError 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