Class UriTemplateFactory

java.lang.Object
org.springframework.hateoas.server.core.UriTemplateFactory

public class UriTemplateFactory extends Object
Builds and caches UriTemplate instances.
Author:
Michal Stochmialek, Oliver Drotbohm
  • Constructor Details

    • UriTemplateFactory

      public UriTemplateFactory()
  • Method Details

    • templateFor

      public static UriTemplate templateFor(@Nullable String mapping)
      Returns the the UriTemplate for the given mapping.
      Parameters:
      mapping - must not be null or empty.
      Returns: