Class UriTemplateFactory
java.lang.Object
org.springframework.hateoas.server.core.UriTemplateFactory
Builds and caches
UriTemplate instances.- Author:
- Michal Stochmialek, Oliver Drotbohm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UriTemplatetemplateFor(String mapping) Returns the theUriTemplatefor the given mapping.
-
Constructor Details
-
UriTemplateFactory
public UriTemplateFactory()
-
-
Method Details
-
templateFor
Returns the theUriTemplatefor the given mapping.- Parameters:
mapping- must not be null or empty.- Returns:
-