HttpResponse
(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)
クラス概要
HttpResponse
{
static
bool setCacheControl
( string
}$control
[, int $max_age = 0
[, bool $must_revalidate = true
]] )クラスのメンバ
プロパティ
| アクセス範囲 | 型 | 名前 | 説明 |
|---|---|---|---|
| protected | boolean | cache | レスポンスのキャッシュを試みるかどうか。 |
| protected | boolean | gzip | 送信するエンティティをその場で gzip するかどうか。 |
| protected | string | eTag | 生成された、あるいは独自の ETag。 |
| protected | integer | lastModified | 生成された、あるいは独自の最終更新タイムスタンプ。 |
| protected | string | cacheControl | Cache-Control の設定。 |
| protected | string | contentType | 送信したエンティティの Content-Type。 |
| protected | string | contentDisposition | 送信したエンティティの Content-Disposition。 |
| protected | integer | bufferSize | 抑止処理に使用するチャンクバッファサイズ。 |
| protected | double | throttleDelay | 抑止処理の遅延秒数。 |
定義済み定数
| 型 | 名前 | 説明 |
|---|---|---|
| integer | REDIRECT | 適切なリダイレクト方法を判別する。 |
| integer | REDIRECT_PERM | 完全なリダイレクト (301 Moved permanently)。 |
| integer | REDIRECT_FOUND | 標準のリダイレクト (302 Found)。 |
| integer | REDIRECT_POST | POST リクエストに対するリダイレクト (303 See other)。 |
| integer | REDIRECT_PROXY | プロキシリダイレクト (305 Use proxy)。 |
| integer | REDIRECT_TEMP | 一時的なリダイレクト (307 Temporary Redirect)。 |
目次
- HttpResponse::capture — スクリプトの出力を取り込む
- HttpResponse::getBufferSize — バッファサイズを取得する
- HttpResponse::getCache — キャッシュを取得する
- HttpResponse::getCacheControl — cache control を取得する
- HttpResponse::getContentDisposition — content disposition を取得する
- HttpResponse::getContentType — content type を取得する
- HttpResponse::getData — データを取得する
- HttpResponse::getETag — ETag を取得する
- HttpResponse::getFile — ファイルを取得する
- HttpResponse::getGzip — gzip を取得する
- HttpResponse::getHeader — ヘッダを取得する
- HttpResponse::getLastModified — 最終更新日時を取得する
- HttpResponse::getRequestBody — リクエストの本文を取得する
- HttpResponse::getRequestBodyStream — リクエストの本文をストリームとして取得する
- HttpResponse::getRequestHeaders — リクエストのヘッダを取得する
- HttpResponse::getStream — ストリームを取得する
- HttpResponse::getThrottleDelay — throttle delay を取得する
- HttpResponse::guessContentType — content type を推測する
- HttpResponse::redirect — リダイレクトする
- HttpResponse::send — レスポンスを送信する
- HttpResponse::setBufferSize — バッファサイズを設定する
- HttpResponse::setCache — キャッシュを設定する
- HttpResponse::setCacheControl — cache control を設定する
- HttpResponse::setContentDisposition — content disposition を設定する
- HttpResponse::setContentType — content type を設定する
- HttpResponse::setData — データを設定する
- HttpResponse::setETag — ETag を設定する
- HttpResponse::setFile — ファイルを設定する
- HttpResponse::setGzip — gzip を設定する
- HttpResponse::setHeader — ヘッダを設定する
- HttpResponse::setLastModified — 最終更新日時を設定する
- HttpResponse::setStream — ストリームを設定する
- HttpResponse::setThrottleDelay — throttle delay を設定する
- HttpResponse::status — HTTP レスポンスステータスを送信する