com.jniwrapper.macosx.cocoa.nsurlprotocol
Interface NSURLProtocolClientProtocol

All Superinterfaces:
NSObjectProtocol

public interface NSURLProtocolClientProtocol
extends NSObjectProtocol

This interface represents NSURLProtocolClientProtocol protocol. See the protocol documentation at the Apple's site: NSURLProtocolClientProtocol


Method Summary
 void URLProtocol_cachedResponseIsValid(NSURLProtocol protocol, NSCachedURLResponse cachedResponse)
          This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.
 void URLProtocol_didCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
          This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.
 void URLProtocol_didFailWithError(NSURLProtocol protocol, NSError error)
          This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.
 void URLProtocol_didLoadData(NSURLProtocol protocol, NSData data)
          This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.
 void URLProtocol_didReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
          This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.
 void URLProtocol_didReceiveResponse_cacheStoragePolicy(NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy)
          This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.
 void URLProtocol_wasRedirectedToRequest_redirectResponse(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)
          This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.
 void URLProtocolDidFinishLoading(NSURLProtocol protocol)
           
 
Methods inherited from interface com.jniwrapper.macosx.cocoa.nsobject.NSObjectProtocol
_class, autorelease, conformsToProtocol, description, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, release, respondsToSelector, retain, retainCount, self, superclass, zone
 

Method Detail

URLProtocol_didFailWithError

public void URLProtocol_didFailWithError(NSURLProtocol protocol,
                                         NSError error)
This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.

Parameters:
protocol -
error -

URLProtocolDidFinishLoading

public void URLProtocolDidFinishLoading(NSURLProtocol protocol)

URLProtocol_didReceiveResponse_cacheStoragePolicy

public void URLProtocol_didReceiveResponse_cacheStoragePolicy(NSURLProtocol protocol,
                                                              NSURLResponse response,
                                                              NSURLCacheStoragePolicy policy)
This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.

Parameters:
protocol -
response -
policy -

URLProtocol_wasRedirectedToRequest_redirectResponse

public void URLProtocol_wasRedirectedToRequest_redirectResponse(NSURLProtocol protocol,
                                                                NSURLRequest request,
                                                                NSURLResponse redirectResponse)
This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.

Parameters:
protocol -
request -
redirectResponse -

URLProtocol_didLoadData

public void URLProtocol_didLoadData(NSURLProtocol protocol,
                                    NSData data)
This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.

Parameters:
protocol -
data -

URLProtocol_didReceiveAuthenticationChallenge

public void URLProtocol_didReceiveAuthenticationChallenge(NSURLProtocol protocol,
                                                          NSURLAuthenticationChallenge challenge)
This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.

Parameters:
protocol -
challenge -

URLProtocol_cachedResponseIsValid

public void URLProtocol_cachedResponseIsValid(NSURLProtocol protocol,
                                              NSCachedURLResponse cachedResponse)
This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.

Parameters:
protocol -
cachedResponse -

URLProtocol_didCancelAuthenticationChallenge

public void URLProtocol_didCancelAuthenticationChallenge(NSURLProtocol protocol,
                                                         NSURLAuthenticationChallenge challenge)
This method represents the URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol.

Parameters:
protocol -
challenge -