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

Inheritance: System.Attribute
Mostrar archivo Open project: Vanaheimr/Hermod

Public Methods

Method Description
HTTPResourcesMappingAttribute ( String UriTemplate, String ResourcesPath, String DefaultFile = "index.html", System.Boolean AllowDirectoryListing = true ) : System

Generates a new HTTP mapping.

Method Details

HTTPResourcesMappingAttribute() public method

Generates a new HTTP mapping.
public HTTPResourcesMappingAttribute ( String UriTemplate, String ResourcesPath, String DefaultFile = "index.html", System.Boolean AllowDirectoryListing = true ) : System
UriTemplate String The URI template.
ResourcesPath String The embedded resources path.
DefaultFile String The default file to load if a path was requested.
AllowDirectoryListing System.Boolean Allow a directory listing if a path was requested.
return System