[ whitefrost.com | Account Manager 4 Product Page ]

Core.Tools.AccountManager.WebHandler.RequestContext Class Reference

HandlerRequest encapsulates REST-like requests. The format of the requests are: /{HandlerPath/}{Catalog}/{Request}/{Action} If handler.AccountLevelHandler Name = Catalog, and Request and Action shift up Data formats are: HTML, XML, and JSON. More...

List of all members.

Public Member Functions

 RequestContext (HttpContext context, CoreHandler handler, PageContext page_context)
void Flush ()
void SubContent (String token_name, String value)
void Destroy ()

Public Attributes

int Index = -1
String Path = null
bool IsBinary = false
bool IsFlushed = false
String Name = null
String Catalog = null
String Page = null
String Request = null
String Action = null
bool DownlevelMode = false
bool IsValidRequest = false
bool IsOwner = false
Map.Account Account = null
Map.DirectoryGroup Directory = null
Core.Util.Config.ConfigReader Profile = null
String ContentTemplate = null
int StartRecord = 0
int RecordCount = 0
int TotalCount = 0
String ResponseType = null
bool IsAuthenticated = false
System.IO.MemoryStream ContentStream = null
System.IO.StreamWriter ContentWriter = null

Properties

byte[] ByteBuffer [get]
bool IsPost [get]
bool IsRSSRequest [get, set]
bool IsJSONRequest [get]
bool IsXmlRequest [get, set]
Map.SecurityToken SecurityToken [get]
bool EnableSecurityToken [get, set]
bool GenerateSecurityToken [get, set]

Private Member Functions

bool Initialize (HttpContext context, CoreHandler handler, PageContext page_context)
void ResetContentType ()

Private Attributes

String rss_link = null
String application_path = null
String url_root = null
String xhtml_template = null
String xml_template = null
String json_template = null
String rss_template = null
String handler_path = null
bool is_post = false
bool is_json_request = false
bool is_xml_request = false
bool is_rss_request = false
bool enable_security_token = false
bool generate_security_token = false
Core.Tools.AccountManager.Map.SecurityToken security_token = null
byte[] byte_buffer = new byte[0]


Detailed Description

HandlerRequest encapsulates REST-like requests. The format of the requests are: /{HandlerPath/}{Catalog}/{Request}/{Action} If handler.AccountLevelHandler Name = Catalog, and Request and Action shift up Data formats are: HTML, XML, and JSON.


Constructor & Destructor Documentation

Core.Tools.AccountManager.WebHandler.RequestContext.RequestContext ( HttpContext  context,
CoreHandler  handler,
PageContext  page_context 
)


Member Function Documentation

bool Core.Tools.AccountManager.WebHandler.RequestContext.Initialize ( HttpContext  context,
CoreHandler  handler,
PageContext  page_context 
) [private]

void Core.Tools.AccountManager.WebHandler.RequestContext.ResetContentType (  )  [private]

void Core.Tools.AccountManager.WebHandler.RequestContext.Flush (  ) 

void Core.Tools.AccountManager.WebHandler.RequestContext.SubContent ( String  token_name,
String  value 
)

void Core.Tools.AccountManager.WebHandler.RequestContext.Destroy (  ) 


Member Data Documentation


Property Documentation

byte [] Core.Tools.AccountManager.WebHandler.RequestContext.ByteBuffer [get]

bool Core.Tools.AccountManager.WebHandler.RequestContext.IsPost [get]

bool Core.Tools.AccountManager.WebHandler.RequestContext.IsRSSRequest [get, set]

bool Core.Tools.AccountManager.WebHandler.RequestContext.IsJSONRequest [get]

bool Core.Tools.AccountManager.WebHandler.RequestContext.IsXmlRequest [get, set]

Map.SecurityToken Core.Tools.AccountManager.WebHandler.RequestContext.SecurityToken [get]

bool Core.Tools.AccountManager.WebHandler.RequestContext.EnableSecurityToken [get, set]

bool Core.Tools.AccountManager.WebHandler.RequestContext.GenerateSecurityToken [get, set]


The documentation for this class was generated from the following file:
Stephen W. Cote, 2009, whitefrost.com