C# Class AWSSDK_DotNet.IntegrationTests.Tests.Servlet

Inheritance: IDisposable
ファイルを表示 Open project: aws/aws-sdk-net

Public Methods

Method Description
Dispose ( ) : void
Servlet ( ) : System
Servlet ( int port ) : System
Servlet ( int port, string uri ) : System
Servlet ( string uri ) : System
Stop ( ) : void

Protected Methods

Method Description
Cleanup ( ) : void
HandleRequest ( HttpListenerContext context ) : void
WriteResponse ( HttpListenerResponse response, string content ) : void
WriteResponse ( HttpListenerResponse response, string content, int status ) : void
WriteResponse ( HttpListenerResponse response, string content, int status, string>.IDictionary headers ) : void

Private Methods

Method Description
FindFreePort ( ) : int
HttpWebListenerCallback ( IAsyncResult result ) : void
IsBusy ( int port ) : bool
RandomPort ( ) : int
StartServlet ( ) : void

Method Details

Cleanup() protected method

protected Cleanup ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

HandleRequest() protected method

protected HandleRequest ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
return void

Servlet() public method

public Servlet ( ) : System
return System

Servlet() public method

public Servlet ( int port ) : System
port int
return System

Servlet() public method

public Servlet ( int port, string uri ) : System
port int
uri string
return System

Servlet() public method

public Servlet ( string uri ) : System
uri string
return System

Stop() public method

public Stop ( ) : void
return void

WriteResponse() protected method

protected WriteResponse ( HttpListenerResponse response, string content ) : void
response System.Net.HttpListenerResponse
content string
return void

WriteResponse() protected method

protected WriteResponse ( HttpListenerResponse response, string content, int status ) : void
response System.Net.HttpListenerResponse
content string
status int
return void

WriteResponse() protected method

protected WriteResponse ( HttpListenerResponse response, string content, int status, string>.IDictionary headers ) : void
response System.Net.HttpListenerResponse
content string
status int
headers string>.IDictionary
return void