Class UriSpec

All Implemented Interfaces:

public class UriSpec extends Object implements Iterable<UriSpec.Part>

An abstraction for specifying a URI for an instance allowing for variable substitutions.

A Uri spec is a string with optional replacement fields. A replacement field begins with an open brace and ends with a close brace. The value between the braces is the name of the field. e.g. "{scheme}://{port}" has two replacement fields named "scheme" and "port". Several pre-defined fields are listed as constants in this class (e.g. FIELD_SCHEME).