C# Class Phun.Templating.PhunResponse

Phun response.
Inheritance: IResponse
ファイルを表示 Open project: noogen/phuncms

Public Methods

Method Description
PhunResponse ( System.Web.HttpContextBase context ) : System.Web

Initializes a new instance of the PhunResponse class.

addHeader ( string name, string value ) : void

Adds the header.

clearContent ( ) : void

Clears the content.

clearHeaders ( ) : void

Clears the header.

end ( ) : void

Ends this instance.

flush ( ) : void

Flushes this instance.

redirect ( string url ) : void

Redirects the specified URL.

write ( string chars ) : void

Writes the specified chars.

Method Details

PhunResponse() public method

Initializes a new instance of the PhunResponse class.
public PhunResponse ( System.Web.HttpContextBase context ) : System.Web
context System.Web.HttpContextBase The context.
return System.Web

addHeader() public method

Adds the header.
public addHeader ( string name, string value ) : void
name string The name.
value string The value.
return void

clearContent() public method

Clears the content.
public clearContent ( ) : void
return void

clearHeaders() public method

Clears the header.
public clearHeaders ( ) : void
return void

end() public method

Ends this instance.
public end ( ) : void
return void

flush() public method

Flushes this instance.
public flush ( ) : void
return void

redirect() public method

Redirects the specified URL.
public redirect ( string url ) : void
url string The URL.
return void

write() public method

Writes the specified chars.
public write ( string chars ) : void
chars string The chars.
return void