Package org.robovm.apple.foundation
Class NSURLConnectionDataDelegateAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLConnectionDelegateAdapter
-
- org.robovm.apple.foundation.NSURLConnectionDataDelegateAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,NSURLConnectionDataDelegate
,NSURLConnectionDelegate
,org.robovm.objc.ObjCProtocol
public class NSURLConnectionDataDelegateAdapter extends NSURLConnectionDelegateAdapter implements NSURLConnectionDataDelegate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description NSURLConnectionDataDelegateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
didFinishLoading(NSURLConnection connection)
void
didReceiveData(NSURLConnection connection, NSData data)
void
didReceiveResponse(NSURLConnection connection, NSURLResponse response)
void
didSendBodyData(NSURLConnection connection, long bytesWritten, long totalBytesWritten, long totalBytesExpectedToWrite)
NSInputStream
needNewBodyStream(NSURLConnection connection, NSURLRequest request)
NSCachedURLResponse
willCacheResponse(NSURLConnection connection, NSCachedURLResponse cachedResponse)
NSURLRequest
willSendRequest(NSURLConnection connection, NSURLRequest request, NSURLResponse response)
-
Methods inherited from class org.robovm.apple.foundation.NSURLConnectionDelegateAdapter
canAuthenticateAgainstProtectionSpace, didCancelAuthenticationChallenge, didFail, didReceiveAuthenticationChallenge, shouldUseCredentialStorage, willSendRequestForAuthenticationChallenge
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
Methods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Methods inherited from interface org.robovm.apple.foundation.NSURLConnectionDelegate
canAuthenticateAgainstProtectionSpace, didCancelAuthenticationChallenge, didFail, didReceiveAuthenticationChallenge, shouldUseCredentialStorage, willSendRequestForAuthenticationChallenge
-
-
-
-
Method Detail
-
willSendRequest
public NSURLRequest willSendRequest(NSURLConnection connection, NSURLRequest request, NSURLResponse response)
- Specified by:
willSendRequest
in interfaceNSURLConnectionDataDelegate
-
didReceiveResponse
public void didReceiveResponse(NSURLConnection connection, NSURLResponse response)
- Specified by:
didReceiveResponse
in interfaceNSURLConnectionDataDelegate
-
didReceiveData
public void didReceiveData(NSURLConnection connection, NSData data)
- Specified by:
didReceiveData
in interfaceNSURLConnectionDataDelegate
-
needNewBodyStream
public NSInputStream needNewBodyStream(NSURLConnection connection, NSURLRequest request)
- Specified by:
needNewBodyStream
in interfaceNSURLConnectionDataDelegate
-
didSendBodyData
public void didSendBodyData(NSURLConnection connection, long bytesWritten, long totalBytesWritten, long totalBytesExpectedToWrite)
- Specified by:
didSendBodyData
in interfaceNSURLConnectionDataDelegate
-
willCacheResponse
public NSCachedURLResponse willCacheResponse(NSURLConnection connection, NSCachedURLResponse cachedResponse)
- Specified by:
willCacheResponse
in interfaceNSURLConnectionDataDelegate
-
didFinishLoading
public void didFinishLoading(NSURLConnection connection)
- Specified by:
didFinishLoading
in interfaceNSURLConnectionDataDelegate
-
-