HttpResponse

(no version information, might be only in CVS)

HttpResponse -- HTTP Response Class

Synopsis

static class HttpResponse

Class Members

Properties

Table 1. Static Properties

ModifiersTypeNameDescription
protectedbooleancachewhether caching the response should be attempted
protectedbooleangzipwhether the sent entity should be gzip'ed on the fly
protectedstringeTagthe generated or custom ETag
protectedintegerlastModifiedthe generated or custom timestamp of last modification
protectedstringcacheControlCache-Control setting
protectedstringcontentTypethe Content-Type of the sent entity
protectedstringcontentDispositionthe Content-Disposition of the sent entity
protectedintegerbufferSizethe chunk buffer size used for throttling
protecteddoublethrottleDelaythe seconds to delay when throttling

Predefined Constants

Table 2.

TypeNameDescription
integerREDIRECTguess applicable redirect method
integerREDIRECT_PERMpermanent redirect (301 Moved permanently)
integerREDIRECT_FOUNDstandard redirect (302 Found)
integerREDIRECT_POSTredirect applicable to POST requests (303 See other)
integerREDIRECT_PROXYproxy redirect (305 Use proxy)
integerREDIRECT_TEMPtemporary redirect (307 Temporary Redirect)

Methods

HttpResponse::getBufferSize()
HttpResponse::setBufferSize()
HttpResponse::getCacheControl()
HttpResponse::setCacheControl()
HttpResponse::getCache()
HttpResponse::setCache()
HttpResponse::getContentDisposition()
HttpResponse::setContentDisposition()
HttpResponse::getContentType()
HttpResponse::setContentType()
HttpResponse::getData()
HttpResponse::setData()
HttpResponse::getETag()
HttpResponse::setETag()
HttpResponse::getFile()
HttpResponse::setFile()
HttpResponse::getGzip()
HttpResponse::setGzip()
HttpResponse::getHeader()
HttpResponse::setHeader()
HttpResponse::getLastModified()
HttpResponse::setLastModified()
HttpResponse::getStream()
HttpResponse::setStream()
HttpResponse::getThrottleDelay()
HttpResponse::setThrottleDelay()
HttpResponse::redirect()
HttpResponse::capture()
HttpResponse::send()
HttpResponse::guessContentType()
HttpResponse::redirect()
HttpResponse::status()
HttpResponse::getRequestHeaders()
HttpResponse::getRequestBody()
HttpResponse::getRequestBodyStream()