C# Class Tornado.web.RequestHandler

Datei anzeigen Open project: swax/Tornado.Net

Public Properties

Property Type Description
application Application
request Tornado.httpserver.HTTPRequest

Protected Properties

Property Type Description
_status_code int

Public Methods

Method Description
RequestHandler ( ) : System
RequestHandler ( Application application_, HTTPRequest request_, object>.Dictionary kwargs ) : System
_execute ( List transforms, List args, string>.Dictionary kwargs ) : void
_generate_headers ( ) : byte[]
_handle_request_exception ( Exception e ) : void
_request_summary ( ) : string
check_xsrf_cookie ( ) : void
clear ( ) : void
clear_header ( string name ) : void
compute_etag ( ) : string
decode_argument ( string value, string name = null ) : string
delete ( ) : void
finish ( byte chunk = null ) : void
finish ( string body ) : void
flush ( bool include_footers = false, System.Action callback = null ) : void
get ( ) : void
get_argument ( string name, string default_ = _ARG_DEFAULT, bool strip = true ) : string
get_arguments ( string name, bool strip = true ) : List
get_cookie ( string name, string default_ = null ) : string
get_current_user_ ( ) : object
head ( ) : void
initialize ( object>.Dictionary kwargs ) : void
on_connection_close ( ) : void
on_finish ( ) : void
options ( ) : void
patch ( ) : void
post ( ) : void
prepare ( ) : void
put ( ) : void
redirect ( string url, bool permanent = false, int status ) : void
send_error ( int status_code = 500, Exception kwargs = null ) : void
set_cookie ( string name, string value, string domain = null, System.DateTime expires = null, string path = "/", int expires_days = null, string>.Dictionary kwargs = null ) : void
set_default_headers ( ) : void
set_header ( string name, object value ) : void
set_status ( int status_code ) : void
settings ( ) : object>.Dictionary
write ( byte chunk ) : void
write_error ( int status_code, Exception kwargs ) : void

Private Methods

Method Description
_clear_headers_for_304 ( ) : void
_convert_header_value ( object value ) : string

Method Details

RequestHandler() public method

public RequestHandler ( ) : System
return System

RequestHandler() public method

public RequestHandler ( Application application_, HTTPRequest request_, object>.Dictionary kwargs ) : System
application_ Application
request_ Tornado.httpserver.HTTPRequest
kwargs object>.Dictionary
return System

_execute() public method

public _execute ( List transforms, List args, string>.Dictionary kwargs ) : void
transforms List
args List
kwargs string>.Dictionary
return void

_generate_headers() public method

public _generate_headers ( ) : byte[]
return byte[]

_handle_request_exception() public method

public _handle_request_exception ( Exception e ) : void
e System.Exception
return void

_request_summary() public method

public _request_summary ( ) : string
return string

check_xsrf_cookie() public method

public check_xsrf_cookie ( ) : void
return void

clear() public method

public clear ( ) : void
return void

clear_header() public method

public clear_header ( string name ) : void
name string
return void

compute_etag() public method

public compute_etag ( ) : string
return string

decode_argument() public method

public decode_argument ( string value, string name = null ) : string
value string
name string
return string

delete() public method

public delete ( ) : void
return void

finish() public method

public finish ( byte chunk = null ) : void
chunk byte
return void

finish() public method

public finish ( string body ) : void
body string
return void

flush() public method

public flush ( bool include_footers = false, System.Action callback = null ) : void
include_footers bool
callback System.Action
return void

get() public method

public get ( ) : void
return void

get_argument() public method

public get_argument ( string name, string default_ = _ARG_DEFAULT, bool strip = true ) : string
name string
default_ string
strip bool
return string

get_arguments() public method

public get_arguments ( string name, bool strip = true ) : List
name string
strip bool
return List

get_cookie() public method

public get_cookie ( string name, string default_ = null ) : string
name string
default_ string
return string

get_current_user_() public method

public get_current_user_ ( ) : object
return object

head() public method

public head ( ) : void
return void

initialize() public method

public initialize ( object>.Dictionary kwargs ) : void
kwargs object>.Dictionary
return void

on_connection_close() public method

public on_connection_close ( ) : void
return void

on_finish() public method

public on_finish ( ) : void
return void

options() public method

public options ( ) : void
return void

patch() public method

public patch ( ) : void
return void

post() public method

public post ( ) : void
return void

prepare() public method

public prepare ( ) : void
return void

put() public method

public put ( ) : void
return void

redirect() public method

public redirect ( string url, bool permanent = false, int status ) : void
url string
permanent bool
status int
return void

send_error() public method

public send_error ( int status_code = 500, Exception kwargs = null ) : void
status_code int
kwargs System.Exception
return void

set_cookie() public method

public set_cookie ( string name, string value, string domain = null, System.DateTime expires = null, string path = "/", int expires_days = null, string>.Dictionary kwargs = null ) : void
name string
value string
domain string
expires System.DateTime
path string
expires_days int
kwargs string>.Dictionary
return void

set_default_headers() public method

public set_default_headers ( ) : void
return void

set_header() public method

public set_header ( string name, object value ) : void
name string
value object
return void

set_status() public method

public set_status ( int status_code ) : void
status_code int
return void

settings() public method

public settings ( ) : object>.Dictionary
return object>.Dictionary

write() public method

public write ( byte chunk ) : void
chunk byte
return void

write_error() public method

public write_error ( int status_code, Exception kwargs ) : void
status_code int
kwargs System.Exception
return void

Property Details

_status_code protected_oe property

protected int _status_code
return int

application public_oe property

public Application,Tornado.web application
return Application

request public_oe property

public HTTPRequest,Tornado.httpserver request
return Tornado.httpserver.HTTPRequest