C# Class AWSSDK_DotNet.IntegrationTests.Tests.Servlet

Inheritance: IDisposable
Afficher le fichier Open project: aws/aws-sdk-net

Méthodes publiques

Méthode Description
Dispose ( ) : void
Servlet ( ) : System
Servlet ( int port ) : System
Servlet ( int port, string uri ) : System
Servlet ( string uri ) : System
Stop ( ) : void

Méthodes protégées

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

Méthode Description
FindFreePort ( ) : int
HttpWebListenerCallback ( IAsyncResult result ) : void
IsBusy ( int port ) : bool
RandomPort ( ) : int
StartServlet ( ) : void

Method Details

Cleanup() protected méthode

protected Cleanup ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

HandleRequest() protected méthode

protected HandleRequest ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
Résultat void

Servlet() public méthode

public Servlet ( ) : System
Résultat System

Servlet() public méthode

public Servlet ( int port ) : System
port int
Résultat System

Servlet() public méthode

public Servlet ( int port, string uri ) : System
port int
uri string
Résultat System

Servlet() public méthode

public Servlet ( string uri ) : System
uri string
Résultat System

Stop() public méthode

public Stop ( ) : void
Résultat void

WriteResponse() protected méthode

protected WriteResponse ( HttpListenerResponse response, string content ) : void
response System.Net.HttpListenerResponse
content string
Résultat void

WriteResponse() protected méthode

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

WriteResponse() protected méthode

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