Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UriTemplate

A URI template that follows the rfc6570 level 4.

A template is immutable and thread safe, it can be safely shared between threads after its creation. If you are sharing a template as a static variables, keep in mind that {@link UriTemplate#of} can fail and create a classloading issue.

Hierarchy

  • UriTemplate

Index

Methods

Methods

expandToString

  • Expand this template to a string.

    Parameters

    Returns string

  • Expand this template to a string.

    Parameters

    Returns string

Static of

  • Create a template from a string uri.

    The string uri is validated and parsed, invalid inputs are rejected with a IllegalArgumentException.

    Parameters

    • uri: string

    Returns UriTemplate

Generated using TypeDoc