TROIKA.ASP - the MVC framework

Class ResponseAdapter

Object
   |
   +--ResponseAdapter

class ResponseAdapter


This class adapts the native ASP Response object to Troika.ASP Response object.
Defined in ResponseAdapter.js


Constructor Summary
ResponseAdapter()
            Constructs a new instance of ResponseAdapter class.
 
Method Summary
 void addHeader(<String> name, <String> value)
           Adds a new HTTP header and a value to the HTTP response.
 void binaryWrite(<String> data)
           Writes data directly to the output without any character conversion.
 void flush()
           Sends buffered HTML output immediately.
 void redirect(<String> path)
           Redirects the user to a different URL.
 void setCharset(<String> value)
           Appends the name of a character-set to the content-type header in the Response object.
 void setContentType(<String> value)
           Sets the HTTP content type for the response object.
 void setCookie(<String> name, <String> value, <String> expires, <String> domain, <String> path)
           Sets a cookie value.
 void setStatus(<String> value)
           Specifies the value of the status line returned by the server.
 void write(<String> str)
           Writes a specified string to the output.

Constructor Detail

ResponseAdapter

ResponseAdapter()

Method Detail

addHeader

void addHeader(<String> name, <String> value)

binaryWrite

void binaryWrite(<String> data)

flush

void flush()

redirect

void redirect(<String> path)

setCharset

void setCharset(<String> value)

setContentType

void setContentType(<String> value)

setCookie

void setCookie(<String> name, <String> value, <String> expires, <String> domain, <String> path)

setStatus

void setStatus(<String> value)

write

void write(<String> str)

TROIKA.ASP - the MVC framework

www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008