OpenEdge.Net.HTTP.Trace.TraceConfigLoader
- Last Updated: January 15, 2026
- 4 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| ClearConfig () |
/* Clears all the current tracing config options. */
|
||
| OpenEdge.Net.HTTP.Trace.Formatter.ITraceFormatter GetFormatter (JsonObject) |
/** Returns a ITraceFormatter implementation based on JSON config data
@param JsonObject JSON Config
@return ITraceFormatter An implementation of a trace formatter */
|
||
| OpenEdge.Net.HTTP.Trace.Writer.ITraceWriter GetWriter (JsonObject) |
/** Returns a ITraceWriter implementation based on JSON config data
@param JsonObject JSON Config
@return ITraceWriter An implementation of a trace writer */
|
||
| OpenEdge.Net.HTTP.Trace.TraceConfig LoadFromFile (character) |
/* Loads tracing config from a file
@param character The filename to load.
@return TraceConfig A trace config. This may be loaded from the file, or be a default instance */
|
||
| OpenEdge.Net.HTTP.Trace.TraceConfig LoadFromJson (JsonObject) |
/* Loads tracing config from a JSON object
@param JsonObject The JSON to load.
@return TraceConfig A trace config. This may be loaded from the JSON, or be a default instance */
|
||
| OpenEdge.Net.HTTP.Trace.TraceConfig LoadRules () |
/* Load HttpClient tracing policy rules from hctracing.config file. */
|
||
| OpenEdge.Net.HTTP.Trace.TraceConfig LoadRules (character) |
/** Loads trace config from a specified filename
@param character A file name
@return TraceConfig The configuration represented by the file. */
|
||
| OpenEdge.Net.HTTP.Trace.TraceConfig LoadRules (JsonObject) |
/* Load HttpClient tracing policy rules from a JSON object as given.
@param JsonObject Config data in format described for hctracing.config */
|
||
| OpenEdge.Net.HTTP.Trace.Rule.ITraceRule ParseRules (MessageTypeEnum, Class, JsonObject) |
/* Parses JSON to create a set of trace rules.
@param MessageTypeEnum The type of rules
@parm Progress.Lang.Class The tracerule type (interface)
@param JsonObject The config data
@return ITraceRule[] An array of rules based on the JSON input */
|
||
| SetOptions (JsonObject, Object) |
/** Assigns values from the 'options' JSON object to the writer or formatter implementation.
The properties in the JSON are used to look for a OOABL property in the implementation. This property
must be an instance public property with a publicly-writable setter. If such a property is found,
then the JSON value is best-guess converted to that property's ABL data type.
If the conversion or the setting fails, the error is logged and the next property is processed.
@param JsonObject The JSON options
@param PLO The implementation */
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| TraceConfigLoader () |
/* Always start with an empty static config object. */
|
||
| TraceConfigLoader () |
/* Default constructor. PRIVATE to prevent instantion of this class */
|
Property Summary
| Options | Name | Purpose | |
|---|---|---|---|
| INTEGER FileCheckInterval |
|
||
| OpenEdge.Logging.ILogWriter Logger |
|
||
| Progress.Lang.ParameterList mParamListLong |
|
||
| Progress.Lang.ParameterList mParamListShort |
|
Method Detail
ClearConfig ()
|
||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OpenEdge.Net.HTTP.Trace.Formatter.ITraceFormatter GetFormatter (JsonObject)
|
||||||||||||||||||||||||||
OpenEdge.Net.HTTP.Trace.Writer.ITraceWriter GetWriter (JsonObject)
|
||||||||||||||||||||||||||
OpenEdge.Net.HTTP.Trace.TraceConfig LoadFromFile (character)
|
||||||||||||||||||||||||||
OpenEdge.Net.HTTP.Trace.TraceConfig LoadFromJson (JsonObject)
|
||||||||||||||||||||||||||
OpenEdge.Net.HTTP.Trace.TraceConfig LoadRules ()
|
||||||||||||||||||||||||||
OpenEdge.Net.HTTP.Trace.TraceConfig LoadRules (character)
|
||||||||||||||||||||||||||
OpenEdge.Net.HTTP.Trace.TraceConfig LoadRules (JsonObject)
|
||||||||||||||||||||||||||
OpenEdge.Net.HTTP.Trace.Rule.ITraceRule ParseRules (MessageTypeEnum, Class, JsonObject)
|
||||||||||||||||||||||||||
SetOptions (JsonObject, Object)
|
||||||||||||||||||||||||||
Constructor Detail
STATIC TraceConfigLoader ()
|
||||||
|---|---|---|---|---|---|---|
TraceConfigLoader ()
|
||||||
Property Detail
INTEGER FileCheckInterval
|
||||||||
|---|---|---|---|---|---|---|---|---|
OpenEdge.Logging.ILogWriter Logger
|
||||||||
Progress.Lang.ParameterList mParamListLong
|
||||||||
Progress.Lang.ParameterList mParamListShort
|
||||||||