org.rococoa.cocoa.foundation.categories
Interface NSURLLoading

All Superinterfaces:
ObjCObject

public interface NSURLLoading
extends ObjCObject

This entire protocol is deprecated; use NSURLConnection instead.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSURLLoading._static_
           
 
Method Summary
 void loadResourceDataNotifyingClient_usingCache(ObjCObject client, boolean shouldUseCache)
          Starts an asynchronous load of the data, registering delegate to receive notification.
 NSObject propertyForKey(NSString propertyKey)
          Original signature : -(id)propertyForKey:(NSString*)
from NSURLLoading native declaration : NSURL.h:171
 NSData resourceDataUsingCache(boolean shouldUseCache)
          Blocks to load the data if necessary.
 boolean setProperty_forKey(ObjCObject property, NSString propertyKey)
          Original signature : -(BOOL)setProperty:(id) forKey:(NSString*)
from NSURLLoading native declaration : NSURL.h:175
 boolean setResourceData(NSData data)
          These attempt to write the given arguments for the resource specified by the URL; they return success or failure
Original signature : -(BOOL)setResourceData:(NSData*)
from NSURLLoading native declaration : NSURL.h:174
 NSURLHandle URLHandleUsingCache(boolean shouldUseCache)
          Sophisticated clients will want to ask for this, then message the handle directly.
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Method Detail

resourceDataUsingCache

NSData resourceDataUsingCache(boolean shouldUseCache)
Blocks to load the data if necessary. If shouldUseCache is YES, then if an equivalent URL has already been loaded and cached, its resource data will be returned immediately. If shouldUseCache is NO, a new load will be started
Original signature : -(NSData*)resourceDataUsingCache:(BOOL)
from NSURLLoading native declaration : NSURL.h:169


loadResourceDataNotifyingClient_usingCache

void loadResourceDataNotifyingClient_usingCache(ObjCObject client,
                                                boolean shouldUseCache)
Starts an asynchronous load of the data, registering delegate to receive notification. Only one such background load can proceed at a time.
Original signature : -(void)loadResourceDataNotifyingClient:(id) usingCache:(BOOL)
from NSURLLoading native declaration : NSURL.h:170


propertyForKey

NSObject propertyForKey(NSString propertyKey)
Original signature : -(id)propertyForKey:(NSString*)
from NSURLLoading native declaration : NSURL.h:171


setResourceData

boolean setResourceData(NSData data)
These attempt to write the given arguments for the resource specified by the URL; they return success or failure
Original signature : -(BOOL)setResourceData:(NSData*)
from NSURLLoading native declaration : NSURL.h:174


setProperty_forKey

boolean setProperty_forKey(ObjCObject property,
                           NSString propertyKey)
Original signature : -(BOOL)setProperty:(id) forKey:(NSString*)
from NSURLLoading native declaration : NSURL.h:175


URLHandleUsingCache

NSURLHandle URLHandleUsingCache(boolean shouldUseCache)
Sophisticated clients will want to ask for this, then message the handle directly. If shouldUseCache is NO, a newly instantiated handle is returned, even if an equivalent URL has been loaded
Original signature : -(NSURLHandle*)URLHandleUsingCache:(BOOL)
from NSURLLoading native declaration : NSURL.h:177



Copyright © 2009. All Rights Reserved.