Package tigase.push.apns
Enum ApnsService.ErrorType
- java.lang.Object
-
- java.lang.Enum<ApnsService.ErrorType>
-
- tigase.push.apns.ApnsService.ErrorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ApnsService.ErrorType>
- Enclosing class:
- ApnsService
public static enum ApnsService.ErrorType extends java.lang.Enum<ApnsService.ErrorType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApnsService.ErrorType
from(java.lang.String type)
tigase.xmpp.Authorization
getErrorCondition()
boolean
shouldRetry()
static ApnsService.ErrorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ApnsService.ErrorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
badCollapseId
public static final ApnsService.ErrorType badCollapseId
-
badDeviceToken
public static final ApnsService.ErrorType badDeviceToken
-
badExpirationDate
public static final ApnsService.ErrorType badExpirationDate
-
badMessageId
public static final ApnsService.ErrorType badMessageId
-
badPriority
public static final ApnsService.ErrorType badPriority
-
badTopic
public static final ApnsService.ErrorType badTopic
-
deviceTokenNotForTopic
public static final ApnsService.ErrorType deviceTokenNotForTopic
-
duplicatedHeaders
public static final ApnsService.ErrorType duplicatedHeaders
-
idleTimeout
public static final ApnsService.ErrorType idleTimeout
-
invalidPushType
public static final ApnsService.ErrorType invalidPushType
-
missingDeviceToken
public static final ApnsService.ErrorType missingDeviceToken
-
missingTopic
public static final ApnsService.ErrorType missingTopic
-
payloadEmpty
public static final ApnsService.ErrorType payloadEmpty
-
topicDisallowed
public static final ApnsService.ErrorType topicDisallowed
-
badCertificate
public static final ApnsService.ErrorType badCertificate
-
badCertificateEnvironment
public static final ApnsService.ErrorType badCertificateEnvironment
-
expiredProviderToken
public static final ApnsService.ErrorType expiredProviderToken
-
forbidden
public static final ApnsService.ErrorType forbidden
-
invalidProviderToken
public static final ApnsService.ErrorType invalidProviderToken
-
missingProviderToken
public static final ApnsService.ErrorType missingProviderToken
-
badPath
public static final ApnsService.ErrorType badPath
-
methodNotAllowed
public static final ApnsService.ErrorType methodNotAllowed
-
unregistred
public static final ApnsService.ErrorType unregistred
-
payloadTooLarge
public static final ApnsService.ErrorType payloadTooLarge
-
tooManyProviderTokenUpdates
public static final ApnsService.ErrorType tooManyProviderTokenUpdates
-
tooManyRequests
public static final ApnsService.ErrorType tooManyRequests
-
internalServerError
public static final ApnsService.ErrorType internalServerError
-
serviceUnavailable
public static final ApnsService.ErrorType serviceUnavailable
-
shutdown
public static final ApnsService.ErrorType shutdown
-
unknownError
public static final ApnsService.ErrorType unknownError
-
-
Method Detail
-
values
public static ApnsService.ErrorType[] 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 (ApnsService.ErrorType c : ApnsService.ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApnsService.ErrorType 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
-
from
public static ApnsService.ErrorType from(java.lang.String type)
-
getErrorCondition
public tigase.xmpp.Authorization getErrorCondition()
-
shouldRetry
public boolean shouldRetry()
-
-