Class ChannelId


public class ChannelId extends Object

Reification of a channel id with methods to test properties and compare with other ChannelIds.

A ChannelId breaks the channel id into path segments so that, for example, /foo/bar breaks into ["foo","bar"].

ChannelId can be wild, when they end with one or two wild characters "*"; a ChannelId is shallow wild if it ends with one wild character (for example /foo/bar/*) and deep wild if it ends with two wild characters (for example /foo/bar/**).

ChannelId can be a template, when a segment contains variable names surrounded by braces, for example /foo/{var_name}. Variable names can only be made of characters defined by the \w regular expression character class.