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
Public method ServiceSettings Constructs a new ServiceSettings class
Top

Public Fields

  Name Description
Public field Addresses A comma separated list of address the service should bind to
Public field connects List of host names, networks or IP addresses that are not allowed to connect
Public field countries List of country rules for geographic control over connections
Public field filters List of filters for filtering incoming requests
Public field Name The name of the service, used for display and logging purposes
Public field rules List of rules to check against incoming connections
Public field Type The type of service
Top

Public Properties

  Name Description
Public property AlwaysGetNewest Override caching and force Munja to get newest resource
Public property CacheQueries Should this service cache responses of queries? (HTTP only)
Public property CacheRoot The root folder that contains the cached responses for this services
Public property DataTrace Trace data passing through connections for debugging purposes
Public property DocPath Root path for serving local documents for errors etc.
Public property IgnoreCacheControlHeader Ignore server cache control headers and cache results anyway
Public property LogFormat W3C log format specifier
Public property Port The port number that the service will bind to
Public property Trace Enable trace logging of connections for debugging purposes
Public property UpstreamPort The port number to connect to on the upstream server
Public property UpstreamServer The host name or IP address of the server to use as an upstream proxy server
Public property UseCache Specifies whether this service will cache responses (HTTP only)
Public property UseUpstream Define whether the service will use an upstream proxy
Top

Public Methods

  Name Description
Public method ContainsRule Checks to see if the service contains the specified rule already
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also