C# Class Tornado.web.RequestHandler

Afficher le fichier Open project: swax/Tornado.Net

Méthodes publiques

Свойство Type Description
application Application
request Tornado.httpserver.HTTPRequest

Protected Properties

Свойство Type Description
_status_code int

Méthodes publiques

Méthode 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

Méthode Description
_clear_headers_for_304 ( ) : void
_convert_header_value ( object value ) : string

Method Details

RequestHandler() public méthode

public RequestHandler ( ) : System
Résultat System

RequestHandler() public méthode

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

_execute() public méthode

public _execute ( List transforms, List args, string>.Dictionary kwargs ) : void
transforms List
args List
kwargs string>.Dictionary
Résultat void

_generate_headers() public méthode

public _generate_headers ( ) : byte[]
Résultat byte[]

_handle_request_exception() public méthode

public _handle_request_exception ( Exception e ) : void
e System.Exception
Résultat void

_request_summary() public méthode

public _request_summary ( ) : string
Résultat string

check_xsrf_cookie() public méthode

public check_xsrf_cookie ( ) : void
Résultat void

clear() public méthode

public clear ( ) : void
Résultat void

clear_header() public méthode

public clear_header ( string name ) : void
name string
Résultat void

compute_etag() public méthode

public compute_etag ( ) : string
Résultat string

decode_argument() public méthode

public decode_argument ( string value, string name = null ) : string
value string
name string
Résultat string

delete() public méthode

public delete ( ) : void
Résultat void

finish() public méthode

public finish ( byte chunk = null ) : void
chunk byte
Résultat void

finish() public méthode

public finish ( string body ) : void
body string
Résultat void

flush() public méthode

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

get() public méthode

public get ( ) : void
Résultat void

get_argument() public méthode

public get_argument ( string name, string default_ = _ARG_DEFAULT, bool strip = true ) : string
name string
default_ string
strip bool
Résultat string

get_arguments() public méthode

public get_arguments ( string name, bool strip = true ) : List
name string
strip bool
Résultat List

get_cookie() public méthode

public get_cookie ( string name, string default_ = null ) : string
name string
default_ string
Résultat string

get_current_user_() public méthode

public get_current_user_ ( ) : object
Résultat object

head() public méthode

public head ( ) : void
Résultat void

initialize() public méthode

public initialize ( object>.Dictionary kwargs ) : void
kwargs object>.Dictionary
Résultat void

on_connection_close() public méthode

public on_connection_close ( ) : void
Résultat void

on_finish() public méthode

public on_finish ( ) : void
Résultat void

options() public méthode

public options ( ) : void
Résultat void

patch() public méthode

public patch ( ) : void
Résultat void

post() public méthode

public post ( ) : void
Résultat void

prepare() public méthode

public prepare ( ) : void
Résultat void

put() public méthode

public put ( ) : void
Résultat void

redirect() public méthode

public redirect ( string url, bool permanent = false, int status ) : void
url string
permanent bool
status int
Résultat void

send_error() public méthode

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

set_cookie() public méthode

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
Résultat void

set_default_headers() public méthode

public set_default_headers ( ) : void
Résultat void

set_header() public méthode

public set_header ( string name, object value ) : void
name string
value object
Résultat void

set_status() public méthode

public set_status ( int status_code ) : void
status_code int
Résultat void

settings() public méthode

public settings ( ) : object>.Dictionary
Résultat object>.Dictionary

write() public méthode

public write ( byte chunk ) : void
chunk byte
Résultat void

write_error() public méthode

public write_error ( int status_code, Exception kwargs ) : void
status_code int
kwargs System.Exception
Résultat void

Property Details

_status_code protected_oe property

protected int _status_code
Résultat int

application public_oe property

public Application,Tornado.web application
Résultat Application

request public_oe property

public HTTPRequest,Tornado.httpserver request
Résultat Tornado.httpserver.HTTPRequest