OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Framework.Servers.HttpServer.OSHttpHttpHandler Class Reference
Inheritance diagram for OpenSim.Framework.Servers.HttpServer.OSHttpHttpHandler:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.Servers.HttpServer.OSHttpHttpHandler:
Collaboration graph
[legend]

Public Member Functions

 OSHttpHttpHandler (GenericHTTPMethod handler, Regex method, Regex path, Dictionary< string, Regex > query, Dictionary< string, Regex > headers, Regex whitelist)
 Instantiate an HTTP handler. More...
 
 OSHttpHttpHandler (GenericHTTPMethod handler)
 Instantiate an HTTP handler. More...
 
override OSHttpHandlerResult Process (OSHttpRequest request)
 Invoked by OSHttpRequestPump. More...
 
- Public Member Functions inherited from OpenSim.Framework.Servers.HttpServer.OSHttpHandler
 OSHttpHandler (Regex method, Regex path, Dictionary< string, Regex > query, Dictionary< string, Regex > headers, Regex contentType, Regex whitelist)
 Base class constructor. More...
 
override string ToString ()
 

Additional Inherited Members

- Protected Attributes inherited from OpenSim.Framework.Servers.HttpServer.OSHttpHandler
Regex _method
 
Regex _path
 
Dictionary< string, Regex > _query
 
Dictionary< string, Regex > _headers
 
Regex _ipEndPointRegex
 
- Properties inherited from OpenSim.Framework.Servers.HttpServer.OSHttpHandler
virtual Regex Method [get]
 Regular expression used to match against method of the incoming HTTP request. If you want to match any string either use '.*' or null. To match on the empty string use '^$'. More...
 
virtual Regex Path [get]
 Regular expression used to match against path of the incoming HTTP request. If you want to match any string either use '.*' or null. To match on the empty string use '^$'. More...
 
virtual Dictionary< string, Regex > Query [get]
 Dictionary of (query name, regular expression) tuples, allowing us to match on URI query fields. More...
 
virtual Dictionary< string, Regex > Headers [get]
 Dictionary of (header name, regular expression) tuples, allowing us to match on HTTP header fields. More...
 
virtual Regex IPEndPointWhitelist [get]
 Dictionary of (header name, regular expression) tuples, allowing us to match on HTTP header fields. More...
 

Detailed Description

Definition at line 44 of file OSHttpHttpHandler.cs.

Constructor & Destructor Documentation

OpenSim.Framework.Servers.HttpServer.OSHttpHttpHandler.OSHttpHttpHandler ( GenericHTTPMethod  handler,
Regex  method,
Regex  path,
Dictionary< string, Regex >  query,
Dictionary< string, Regex >  headers,
Regex  whitelist 
)
inline

Instantiate an HTTP handler.

Parameters
handlera GenericHTTPMethod
methodnull or HTTP method regex
pathnull or path regex
querynull or dictionary with query regexs
headersnull or dictionary with header regexs
whitelistnull or IP address whitelist

Definition at line 61 of file OSHttpHttpHandler.cs.

OpenSim.Framework.Servers.HttpServer.OSHttpHttpHandler.OSHttpHttpHandler ( GenericHTTPMethod  handler)
inline

Instantiate an HTTP handler.

Parameters
handlera GenericHTTPMethod

Definition at line 74 of file OSHttpHttpHandler.cs.

Member Function Documentation

override OSHttpHandlerResult OpenSim.Framework.Servers.HttpServer.OSHttpHttpHandler.Process ( OSHttpRequest  request)
inlinevirtual

The documentation for this class was generated from the following file: