HttpMessage クラス
HttpMessage
&reftitle.classsynopsis;
HttpMessage
HttpMessage
Iterator
Countable
Serializable
クラスのメンバ
&reftitle.properties;
インスタンスプロパティ
アクセス範囲
型
名前
説明
protected
int
type
メッセージの型
protected
string
body
メッセージの本文
protected
float
httpVersion
HTTP プロトコルのバージョン
protected
array
headers
メッセージのヘッダ
protected
string
requestMethod
リクエストメソッドの名前
protected
requestUrl
string
リクエスト URL
protected
int
responseCode
レスポンスコード
protected
string
responseStatus
レスポンスステータスのメッセージ
protected
HttpMessage
parentMessage
親メッセージへの参照
これらのデフォルトプロパティについては、参照としてアクセスすることはできません。
また、配列のキー/値 方式の表記を使用することもできませんし、
インクリメント/デクリメント 操作を行うこともできません。
&reftitle.constants;
型
名前
説明
int
TYPE_NONE
メッセージは特定の型ではありません
int
TYPE_REQUEST
メッセージは、リクエスト型の HTTP メッセージです
int
TYPE_RESPONSE
メッセージは、レスポンス型の HTTP メッセージです
&reference.http.entities.HttpMessage;