webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#import <WebResource.h>
Instance Methods | |
(instancetype) | - initWithData:URL:MIMEType:textEncodingName:frameName: |
(virtual HRESULT STDMETHODCALLTYPE) | - QueryInterface |
(virtual ULONG STDMETHODCALLTYPE) | - AddRef |
(virtual ULONG STDMETHODCALLTYPE) | - Release |
(virtual HRESULT STDMETHODCALLTYPE) | - initWithData |
(virtual HRESULT STDMETHODCALLTYPE) | - data |
(virtual HRESULT STDMETHODCALLTYPE) | - URL |
(virtual HRESULT STDMETHODCALLTYPE) | - MIMEType |
(virtual HRESULT STDMETHODCALLTYPE) | - textEncodingName |
(virtual HRESULT STDMETHODCALLTYPE) | - frameName |
Instance Methods inherited from IWebResource | |
HRESULT | initWithData ([in] IStream *data, [in] BSTR url, [in] BSTR mimeType, [in] BSTR textEncodingName, [in] BSTR frameName) |
HRESULT | data ([out, retval] IStream **data) |
HRESULT | URL ([out, retval] BSTR *url) |
HRESULT | MIMEType ([out, retval] BSTR *mime) |
HRESULT | textEncodingName ([out, retval] BSTR *encodingName) |
HRESULT | frameName ([out, retval] BSTR *name) |
Class Methods | |
(static WebResource *) | + createInstance |
Protected Member Functions | |
() | - WebResource |
() | - ~WebResource |
Protected Attributes | |
package WebResourcePrivate * | _private |
Properties | |
NSData * | data |
NSURL * | URL |
NSString * | MIMEType |
NSString * | textEncodingName |
NSString * | frameName |
A WebResource represents a fully downloaded URL. It includes the data of the resource as well as the metadata associated with the resource.
, NSCopying>
- WebResource | (IStream *) | data | |
(const WebCore::URL &) | url | ||
(const WTF::String &) | mimeType | ||
(const WTF::String &) | textEncodingName | ||
(const WTF::String &) | frameName | ||
- ~WebResource |
+ (WebResource *) createInstance | (PassRefPtr< WebCore::SharedBuffer >) | data | |
(const WebCore::ResourceResponse &) | response | ||
- (HRESULT) initWithData | (_In_opt_ IStream *) | data | |
(_In_ BSTR) | url | ||
(_In_ BSTR) | mimeType | ||
(_In_ BSTR) | textEncodingName | ||
(_In_ BSTR) | frameName | ||
- (instancetype) initWithData: | (NSData *) | data | |
URL: | (NSURL *) | URL | |
MIMEType: | (NSString *) | MIMEType | |
textEncodingName: | (NSString *) | textEncodingName | |
frameName: | (NSString *) | frameName | |
initWithData:URL:MIMEType:textEncodingName:frameName The initializer for WebResource.
data | The data of the resource. |
URL | The URL of the resource. |
MIMEType | The MIME type of the resource. |
textEncodingName | The text encoding name of the resource (can be nil). |
frameName | The frame name of the resource if the resource represents the contents of an entire HTML frame (can be nil). |
|
protected |
|
readnonatomiccopy |
The frame name of the resource if the resource represents the contents of an entire HTML frame (can be nil).
|
readnonatomiccopy |
The text encoding name of the resource (can be nil).