Enum Class UrlRequestStatus

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

@Generated("Generated by the protocol buffer compiler") public enum UrlRequestStatus extends Enum<UrlRequestStatus> implements com.google.protobuf.ProtocolMessageEnum
The URL request statuses.

  • Enum Constant Details

    • URL_REQUEST_STATUS_UNSPECIFIED

      public static final UrlRequestStatus URL_REQUEST_STATUS_UNSPECIFIED
      Reserved value.

    • 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.

    • UNRECOGNIZED

      public static final UrlRequestStatus UNRECOGNIZED
  • Field Details

    • URL_REQUEST_STATUS_UNSPECIFIED_VALUE

      public static final int URL_REQUEST_STATUS_UNSPECIFIED_VALUE
      Reserved value.

      See Also:
    • URL_REQUEST_STATUS_SUCCESS_VALUE

      public static final int URL_REQUEST_STATUS_SUCCESS_VALUE
      A request succeeded.

      See Also:
    • URL_REQUEST_STATUS_IO_PENDING_VALUE

      public static final int URL_REQUEST_STATUS_IO_PENDING_VALUE
      An IO request is pending. It is expected that the request issuer will be informed when it is completed.

      See Also:
    • URL_REQUEST_STATUS_CANCELED_VALUE

      public static final int URL_REQUEST_STATUS_CANCELED_VALUE
      A request was cancelled programmatically.

      See Also:
    • URL_REQUEST_STATUS_FAILED_VALUE

      public static final int URL_REQUEST_STATUS_FAILED_VALUE
      A request failed for some reason.

      See Also:
  • 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
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static UrlRequestStatus valueOf(int value)
      Deprecated.
      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:
      value - 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
    • forNumber

      public static UrlRequestStatus forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<UrlRequestStatus> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static UrlRequestStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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