Enum Class UrlRequestStatus

java.lang.Object
java.lang.Enum<UrlRequestStatus>
com.teamdev.jxbrowser.net.UrlRequestStatus
All Implemented Interfaces:
Serializable, Comparable<UrlRequestStatus>, Constable

public enum UrlRequestStatus extends Enum<UrlRequestStatus>
The URL request statuses.
  • Enum Constant Details

    • UNKNOWN

      public static final UrlRequestStatus UNKNOWN
      An unknown request status.
    • URL_REQUEST_STATUS_SUCCESS

      public static final UrlRequestStatus URL_REQUEST_STATUS_SUCCESS
      A request succeeded.
    • URL_REQUEST_STATUS_IO_PENDING

      public static final UrlRequestStatus URL_REQUEST_STATUS_IO_PENDING
      An IO request is pending. It is expected that the request issuer will be informed when it is completed.
    • URL_REQUEST_STATUS_CANCELED

      public static final UrlRequestStatus URL_REQUEST_STATUS_CANCELED
      A request was cancelled programmatically.
    • URL_REQUEST_STATUS_FAILED

      public static final UrlRequestStatus URL_REQUEST_STATUS_FAILED
      A request failed for some reason.
  • Method Details

    • values

      public static UrlRequestStatus[] 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 UrlRequestStatus 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