The settings used to configure a service within Munja. The settings are serialisable as XML for persistence of service settings across sessions
The following tables list the members exposed by ServiceSettings.
Public Constructors
| Name | Description | |
|---|---|---|
|
ServiceSettings | Constructs a new ServiceSettings class |
Public Fields
| Name | Description | |
|---|---|---|
|
Addresses | A comma separated list of address the service should bind to |
|
connects | List of host names, networks or IP addresses that are not allowed to connect |
|
countries | List of country rules for geographic control over connections |
|
filters | List of filters for filtering incoming requests |
|
Name | The name of the service, used for display and logging purposes |
|
rules | List of rules to check against incoming connections |
|
Type | The type of service |
Public Properties
| Name | Description | |
|---|---|---|
|
AlwaysGetNewest | Override caching and force Munja to get newest resource |
|
CacheQueries | Should this service cache responses of queries? (HTTP only) |
|
CacheRoot | The root folder that contains the cached responses for this services |
|
DataTrace | Trace data passing through connections for debugging purposes |
|
DocPath | Root path for serving local documents for errors etc. |
|
IgnoreCacheControlHeader | Ignore server cache control headers and cache results anyway |
|
LogFormat | W3C log format specifier |
|
Port | The port number that the service will bind to |
|
Trace | Enable trace logging of connections for debugging purposes |
|
UpstreamPort | The port number to connect to on the upstream server |
|
UpstreamServer | The host name or IP address of the server to use as an upstream proxy server |
|
UseCache | Specifies whether this service will cache responses (HTTP only) |
|
UseUpstream | Define whether the service will use an upstream proxy |
Public Methods
| Name | Description | |
|---|---|---|
|
ContainsRule | Checks to see if the service contains the specified rule already |
|
Equals | Determines whether the specified |
|
GetHashCode | Serves as a hash function for a particular type. |
|
GetType | Gets the |
|
ToString | Returns a |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
MemberwiseClone | Creates a shallow copy of the current |