C# 클래스 Tornado.web.RequestHandler

파일 보기 프로젝트 열기: swax/Tornado.Net

공개 프로퍼티들

프로퍼티 타입 설명
application Application
request Tornado.httpserver.HTTPRequest

보호된 프로퍼티들

프로퍼티 타입 설명
_status_code int

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
_clear_headers_for_304 ( ) : void
_convert_header_value ( object value ) : string

메소드 상세

RequestHandler() 공개 메소드

public RequestHandler ( ) : System
리턴 System

RequestHandler() 공개 메소드

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

_execute() 공개 메소드

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

_generate_headers() 공개 메소드

public _generate_headers ( ) : byte[]
리턴 byte[]

_handle_request_exception() 공개 메소드

public _handle_request_exception ( Exception e ) : void
e System.Exception
리턴 void

_request_summary() 공개 메소드

public _request_summary ( ) : string
리턴 string

check_xsrf_cookie() 공개 메소드

public check_xsrf_cookie ( ) : void
리턴 void

clear() 공개 메소드

public clear ( ) : void
리턴 void

clear_header() 공개 메소드

public clear_header ( string name ) : void
name string
리턴 void

compute_etag() 공개 메소드

public compute_etag ( ) : string
리턴 string

decode_argument() 공개 메소드

public decode_argument ( string value, string name = null ) : string
value string
name string
리턴 string

delete() 공개 메소드

public delete ( ) : void
리턴 void

finish() 공개 메소드

public finish ( byte chunk = null ) : void
chunk byte
리턴 void

finish() 공개 메소드

public finish ( string body ) : void
body string
리턴 void

flush() 공개 메소드

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

get() 공개 메소드

public get ( ) : void
리턴 void

get_argument() 공개 메소드

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

get_arguments() 공개 메소드

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

get_cookie() 공개 메소드

public get_cookie ( string name, string default_ = null ) : string
name string
default_ string
리턴 string

get_current_user_() 공개 메소드

public get_current_user_ ( ) : object
리턴 object

head() 공개 메소드

public head ( ) : void
리턴 void

initialize() 공개 메소드

public initialize ( object>.Dictionary kwargs ) : void
kwargs object>.Dictionary
리턴 void

on_connection_close() 공개 메소드

public on_connection_close ( ) : void
리턴 void

on_finish() 공개 메소드

public on_finish ( ) : void
리턴 void

options() 공개 메소드

public options ( ) : void
리턴 void

patch() 공개 메소드

public patch ( ) : void
리턴 void

post() 공개 메소드

public post ( ) : void
리턴 void

prepare() 공개 메소드

public prepare ( ) : void
리턴 void

put() 공개 메소드

public put ( ) : void
리턴 void

redirect() 공개 메소드

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

send_error() 공개 메소드

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

set_cookie() 공개 메소드

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
리턴 void

set_default_headers() 공개 메소드

public set_default_headers ( ) : void
리턴 void

set_header() 공개 메소드

public set_header ( string name, object value ) : void
name string
value object
리턴 void

set_status() 공개 메소드

public set_status ( int status_code ) : void
status_code int
리턴 void

settings() 공개 메소드

public settings ( ) : object>.Dictionary
리턴 object>.Dictionary

write() 공개 메소드

public write ( byte chunk ) : void
chunk byte
리턴 void

write_error() 공개 메소드

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

프로퍼티 상세

_status_code 보호되어 있는 프로퍼티

protected int _status_code
리턴 int

application 공개적으로 프로퍼티

public Application,Tornado.web application
리턴 Application

request 공개적으로 프로퍼티

public HTTPRequest,Tornado.httpserver request
리턴 Tornado.httpserver.HTTPRequest