Package com.pubnub.api.enums
Enum PNStatusCategory
- java.lang.Object
-
- java.lang.Enum<PNStatusCategory>
-
- com.pubnub.api.enums.PNStatusCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PNStatusCategory>
public enum PNStatusCategory extends java.lang.Enum<PNStatusCategory>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PNStatusCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PNStatusCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PNUnknownCategory
public static final PNStatusCategory PNUnknownCategory
-
PNAcknowledgmentCategory
public static final PNStatusCategory PNAcknowledgmentCategory
-
PNAccessDeniedCategory
public static final PNStatusCategory PNAccessDeniedCategory
-
PNTimeoutCategory
public static final PNStatusCategory PNTimeoutCategory
-
PNNetworkIssuesCategory
public static final PNStatusCategory PNNetworkIssuesCategory
-
PNConnectedCategory
public static final PNStatusCategory PNConnectedCategory
-
PNReconnectedCategory
public static final PNStatusCategory PNReconnectedCategory
-
PNDisconnectedCategory
public static final PNStatusCategory PNDisconnectedCategory
-
PNUnexpectedDisconnectCategory
public static final PNStatusCategory PNUnexpectedDisconnectCategory
-
PNCancelledCategory
public static final PNStatusCategory PNCancelledCategory
-
PNBadRequestCategory
public static final PNStatusCategory PNBadRequestCategory
-
PNURITooLongCategory
public static final PNStatusCategory PNURITooLongCategory
-
PNMalformedFilterExpressionCategory
public static final PNStatusCategory PNMalformedFilterExpressionCategory
-
PNMalformedResponseCategory
public static final PNStatusCategory PNMalformedResponseCategory
-
PNDecryptionErrorCategory
public static final PNStatusCategory PNDecryptionErrorCategory
-
PNTLSConnectionFailedCategory
public static final PNStatusCategory PNTLSConnectionFailedCategory
-
PNTLSUntrustedCertificateCategory
public static final PNStatusCategory PNTLSUntrustedCertificateCategory
-
PNRequestMessageCountExceededCategory
public static final PNStatusCategory PNRequestMessageCountExceededCategory
-
PNReconnectionAttemptsExhaustedCategory
public static final PNStatusCategory PNReconnectionAttemptsExhaustedCategory
-
PNRateLimitExceededCategory
public static final PNStatusCategory PNRateLimitExceededCategory
-
-
Method Detail
-
values
public static PNStatusCategory[] 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 (PNStatusCategory c : PNStatusCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PNStatusCategory valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-