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