/headers/Foundation/NSHTTPURLProtocol.h

gehe zur Dokumentation dieser Datei
00001 /*
00002  *     Generated by class-dump 3.1.1.
00003  *
00004  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2006 by Steve Nygard.
00005  */
00006 
00007 #import <Foundation/NSURLProtocol.h>
00008 
00009 @class NSData, NSDictionary, NSHTTPURLResponse, NSMutableData;
00010 
00011 @interface NSHTTPURLProtocol : NSURLProtocol
00012 {
00013     int httpResultCode;
00014     NSDictionary *responseHeader;
00015     CDAnonymousStruct2 errorCode;
00016     double lastActive;
00017     unsigned int contentEncoding;
00018     id contentDecoder;
00019     NSData *multiPartDelimiter;
00020     struct __CFHTTPMessage *savedMsg;
00021     NSMutableData *savedData;
00022     unsigned int transferEncoding;
00023     double requestTime;
00024     BOOL headerParsed;
00025     BOOL isWritingData;
00026     BOOL shouldAddConditionalFieldsToRequest;
00027     BOOL examinedHeaders;
00028     BOOL startingRetry;
00029     BOOL attemptedUnconditionalRequest;
00030     BOOL triedConnectingToInternet;
00031     BOOL shouldRetryForAuthentication;
00032     BOOL responseAvailableCallbackSent;
00033     BOOL supportMixedReplace;
00034     BOOL multiPartHeaderParsed;
00035     BOOL justSawMultiPartDelimeter;
00036     NSHTTPURLResponse *response;
00037 }
00038 
00039 + (id)canonicalRequestForRequest:(id)fp8;
00040 + (id)_canonicalURLForURL:(id)fp8;
00041 + (BOOL)requestIsCacheEquivalent:(id)fp8 toRequest:(id)fp12;
00042 - (id)initWithRequest:(id)fp8 cachedResponse:(id)fp12 client:(id)fp16;
00043 - (void)startLoading;
00044 - (void)startOriginLoad;
00045 - (void)stopLoading;
00046 - (BOOL)cachedResponseMustBeRevalidated;
00047 - (void)cachedResponseRevalidated:(id)fp8;
00048 - (BOOL)_cachedResponseHasExpired;
00049 - (BOOL)_cachedResponsePassesValidityChecks;
00050 - (BOOL)_shouldAttemptOriginLoad;
00051 - (void)buildHTTPRequest;
00052 - (id)HTTPResponse;
00053 - (void)sendResponseAvailableCallback;
00054 - (void)_fixupAndSendMultiPartData:(const char *)fp8 length:(long)fp12 new:(BOOL)fp16;
00055 - (void)_handleMultiPartBytes:(const char *)fp8 length:(long)fp12;
00056 - (void)reportDataToClient:(id)fp8;
00057 - (void)reportDidFinishToClient;
00058 - (void)failWithError:(id)fp8;
00059 - (double)intervalSinceLastActive;
00060 - (unsigned int)determineHTTPEncodingFromString:(id)fp8;
00061 - (void)determineContentEncoding;
00062 - (void)determineTransferEncoding;
00063 - (void)determineErrorAndFail;
00064 - (void)didAddCredentials:(BOOL)fp8 toRequest:(struct __CFHTTPMessage *)fp12 context:(id)fp16;
00065 - (unsigned int)_cachePolicyForResponse;
00066 - (id)URL;
00067 - (id)peerCertificateChain;
00068 - (struct OpaqueSecTrustRef *)peerTrust;
00069 - (id)_clientCertificateChain;
00070 - (id)_clientCertificateState;
00071 - (void)cleanUpForRetry;
00072 - (void)retryWithRedirectedURLAndResultCode:(int)fp8;
00073 - (void)setMultiPartDelimiter:(id)fp8;
00074 - (void)setResponseHeader:(id)fp8;
00075 - (id)_URLStringFromLocationHeader;
00076 - (void)dealloc;
00077 
00078 @end
00079