Table of Contents

TTMSMCPURITemplateAttribute Class

Publishes a parameterized resource under a URI template.

API unit family: TMS.MCP.Attributes Inherits from: TTMSMCPCustomValueAttribute Implements: ITMSMCPURITemplateAttribute

Syntax

TTMSMCPURITemplateAttribute = class(TTMSMCPCustomValueAttribute, ITMSMCPURITemplateAttribute)

Remarks

Use a template such as file:///logs/{name}.txt when a single method serves a family of resources. The concrete URI the client asked for is passed to the reader method, which is responsible for parsing the variable part out of it.

Properties

Name Description
Value Text value carried by the attribute. (inherited from TTMSMCPCustomValueAttribute)

Used by