Class \Prado\Web\THttpResponseAdapter
THttpResponseAdapter class.
THttpResponseAdapter allows the base http response class to change behavior without change the class hierarchy.
Class hierarchy
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>Since: 3.0
public
|
|
public
|
createNewHtmlWriter(string $type, ITextWriter $writer) : mixed
This method is invoked when a new HtmlWriter needs to be created.
Default implementation calls the attached response createNewHtmlWriter method. |
public
|
flushContent([bool $continueBuffering = true ]) : mixed
This method is invoked when the response flushes the content and headers.
Default implementation calls the attached response flushContent method. |
public
|
|
public
|
|
public
|
httpRedirect(string $url) : mixed
This method is invoked when the response is to redirect to another page.
|
public
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |