NSURLConnectionが特殊なURLスキームへのリダイレクトを処理できないので代わりに使用するクラス [詳細]
#import <MixiURLConnection.h>
Public メソッド | |
| (id) | - initWithRequest:delegate: |
| NSURLConnection::initWithRequest:delegate: に移譲 | |
| (id) | - initWithRequest:delegate:startImmediately: |
| NSURLConnection::initWithRequest:delegate:startImmediately: に移譲 | |
Static Public メソッド | |
| (void) | + setAutoRedirect: |
| リダイレクトを自動的に処理するかどうか | |
| (BOOL) | + canHandleRequest: |
| リクエストを処理できるかどうか。 | |
| (NSData *) | + sendSynchronousRequest:returningResponse:error: |
| 同期的にリクエストを送信 | |
| (NSURLConnection *) | + connectionWithRequest:delegate: |
| NSURLConnection::connectionWithRequest:delegate: に移譲 | |
プロパティ | |
| NSURLConnection * | connection |
NSURLConnectionが特殊なURLスキームへのリダイレクトを処理できないので代わりに使用するクラス
| + (BOOL) canHandleRequest: | (NSURLRequest *) | request |
リクエストを処理できるかどうか。
常にYES。
| request |
| + (NSURLConnection *) connectionWithRequest: | (NSURLRequest *) | request | |
| delegate: | (id) | delegate | |
NSURLConnection::connectionWithRequest:delegate: に移譲
| - (id) initWithRequest: | (NSURLRequest *) | request | |
| delegate: | (id) | delegate | |
NSURLConnection::initWithRequest:delegate: に移譲
| - (id) initWithRequest: | (NSURLRequest *) | request | |
| delegate: | (id) | delegate | |
| startImmediately: | (BOOL) | startImmediately | |
NSURLConnection::initWithRequest:delegate:startImmediately: に移譲
| + (NSData *) sendSynchronousRequest: | (NSURLRequest *) | request | |
| returningResponse: | (NSURLResponse **) | response | |
| error: | (NSError **) | error | |
同期的にリクエストを送信
| request | リクエスト |
| response | レスポンス |
| error | エラー |
| + (void) setAutoRedirect: | (bool) | aBool |
リダイレクトを自動的に処理するかどうか
| aBool | リダイレクトを自動的に処理するかどうか |
1.7.4