Package org.robovm.apple.foundation
Enum NSURLErrorCode
- java.lang.Object
-
- java.lang.Enum<NSURLErrorCode>
-
- org.robovm.apple.foundation.NSURLErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NSURLErrorCode>
,NSErrorCode
,org.robovm.rt.bro.ValuedEnum
public enum NSURLErrorCode extends java.lang.Enum<NSURLErrorCode> implements NSErrorCode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
value()
static NSURLErrorCode
valueOf(long n)
Returns the enum constant of this type with the specified name.static NSURLErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NSURLErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final NSURLErrorCode Unknown
-
Cancelled
public static final NSURLErrorCode Cancelled
-
BadURL
public static final NSURLErrorCode BadURL
-
TimedOut
public static final NSURLErrorCode TimedOut
-
UnsupportedURL
public static final NSURLErrorCode UnsupportedURL
-
CannotFindHost
public static final NSURLErrorCode CannotFindHost
-
CannotConnectToHost
public static final NSURLErrorCode CannotConnectToHost
-
NetworkConnectionLost
public static final NSURLErrorCode NetworkConnectionLost
-
DNSLookupFailed
public static final NSURLErrorCode DNSLookupFailed
-
HTTPTooManyRedirects
public static final NSURLErrorCode HTTPTooManyRedirects
-
ResourceUnavailable
public static final NSURLErrorCode ResourceUnavailable
-
NotConnectedToInternet
public static final NSURLErrorCode NotConnectedToInternet
-
RedirectToNonExistentLocation
public static final NSURLErrorCode RedirectToNonExistentLocation
-
BadServerResponse
public static final NSURLErrorCode BadServerResponse
-
UserCancelledAuthentication
public static final NSURLErrorCode UserCancelledAuthentication
-
UserAuthenticationRequired
public static final NSURLErrorCode UserAuthenticationRequired
-
ZeroByteResource
public static final NSURLErrorCode ZeroByteResource
-
CannotDecodeRawData
public static final NSURLErrorCode CannotDecodeRawData
-
CannotDecodeContentData
public static final NSURLErrorCode CannotDecodeContentData
-
CannotParseResponse
public static final NSURLErrorCode CannotParseResponse
-
AppTransportSecurityRequiresSecureConnection
public static final NSURLErrorCode AppTransportSecurityRequiresSecureConnection
- Since:
- Available in iOS 9.0 and later.
-
FileDoesNotExist
public static final NSURLErrorCode FileDoesNotExist
-
FileIsDirectory
public static final NSURLErrorCode FileIsDirectory
-
NoPermissionsToReadFile
public static final NSURLErrorCode NoPermissionsToReadFile
-
DataLengthExceedsMaximum
public static final NSURLErrorCode DataLengthExceedsMaximum
- Since:
- Available in iOS 2.0 and later.
-
FileOutsideSafeArea
public static final NSURLErrorCode FileOutsideSafeArea
- Since:
- Available in iOS 10.3 and later.
-
SecureConnectionFailed
public static final NSURLErrorCode SecureConnectionFailed
-
ServerCertificateHasBadDate
public static final NSURLErrorCode ServerCertificateHasBadDate
-
ServerCertificateUntrusted
public static final NSURLErrorCode ServerCertificateUntrusted
-
ServerCertificateHasUnknownRoot
public static final NSURLErrorCode ServerCertificateHasUnknownRoot
-
ServerCertificateNotYetValid
public static final NSURLErrorCode ServerCertificateNotYetValid
-
ClientCertificateRejected
public static final NSURLErrorCode ClientCertificateRejected
-
ClientCertificateRequired
public static final NSURLErrorCode ClientCertificateRequired
-
CannotLoadFromNetwork
public static final NSURLErrorCode CannotLoadFromNetwork
-
CannotCreateFile
public static final NSURLErrorCode CannotCreateFile
-
CannotOpenFile
public static final NSURLErrorCode CannotOpenFile
-
CannotCloseFile
public static final NSURLErrorCode CannotCloseFile
-
CannotWriteToFile
public static final NSURLErrorCode CannotWriteToFile
-
CannotRemoveFile
public static final NSURLErrorCode CannotRemoveFile
-
CannotMoveFile
public static final NSURLErrorCode CannotMoveFile
-
DownloadDecodingFailedMidStream
public static final NSURLErrorCode DownloadDecodingFailedMidStream
-
DownloadDecodingFailedToComplete
public static final NSURLErrorCode DownloadDecodingFailedToComplete
-
InternationalRoamingOff
public static final NSURLErrorCode InternationalRoamingOff
- Since:
- Available in iOS 3.0 and later.
-
CallIsActive
public static final NSURLErrorCode CallIsActive
- Since:
- Available in iOS 3.0 and later.
-
DataNotAllowed
public static final NSURLErrorCode DataNotAllowed
- Since:
- Available in iOS 3.0 and later.
-
RequestBodyStreamExhausted
public static final NSURLErrorCode RequestBodyStreamExhausted
- Since:
- Available in iOS 3.0 and later.
-
BackgroundSessionRequiresSharedContainer
public static final NSURLErrorCode BackgroundSessionRequiresSharedContainer
- Since:
- Available in iOS 8.0 and later.
-
BackgroundSessionInUseByAnotherProcess
public static final NSURLErrorCode BackgroundSessionInUseByAnotherProcess
- Since:
- Available in iOS 8.0 and later.
-
BackgroundSessionWasDisconnected
public static final NSURLErrorCode BackgroundSessionWasDisconnected
- Since:
- Available in iOS 8.0 and later.
-
-
Method Detail
-
values
public static NSURLErrorCode[] 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 (NSURLErrorCode c : NSURLErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NSURLErrorCode 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
-
value
public long value()
- Specified by:
value
in interfaceorg.robovm.rt.bro.ValuedEnum
-
valueOf
public static NSURLErrorCode valueOf(long n)
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:
n
- 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
-
-