C# Class org.GraphDefined.Vanaheimr.Hermod.HTTP.HostnameNode

A node which stores information for maintaining multiple http hostnames.
Mostrar archivo Open project: Vanaheimr/Hermod Class Usage Examples

Public Methods

Method Description
AddHandler ( HTTPDelegate HTTPDelegate, String URITemplate = "/", HTTPMethod HTTPMethod = null, HTTPContentType HTTPContentType = null, HTTPAuthentication URIAuthentication = null, HTTPAuthentication HTTPMethodAuthentication = null, HTTPAuthentication ContentTypeAuthentication = null, HTTPDelegate DefaultErrorHandler = null, URIReplacement AllowReplacement = URIReplacement.Fail ) : void
ToString ( ) : String

Private Methods

Method Description
HostnameNode ( HTTPHostname Hostname, HTTPAuthentication HostAuthentication = null, HTTPDelegate RequestHandler = null, HTTPDelegate DefaultErrorHandler = null ) : System

Creates a new hostname node.

Method Details

AddHandler() public method

public AddHandler ( HTTPDelegate HTTPDelegate, String URITemplate = "/", HTTPMethod HTTPMethod = null, HTTPContentType HTTPContentType = null, HTTPAuthentication URIAuthentication = null, HTTPAuthentication HTTPMethodAuthentication = null, HTTPAuthentication ContentTypeAuthentication = null, HTTPDelegate DefaultErrorHandler = null, URIReplacement AllowReplacement = URIReplacement.Fail ) : void
HTTPDelegate HTTPDelegate
URITemplate String
HTTPMethod HTTPMethod
HTTPContentType HTTPContentType
URIAuthentication HTTPAuthentication
HTTPMethodAuthentication HTTPAuthentication
ContentTypeAuthentication HTTPAuthentication
DefaultErrorHandler HTTPDelegate
AllowReplacement URIReplacement
return void

ToString() public method

public ToString ( ) : String
return String