LocalHostUriTemplateHandler
UriTemplateHandler will automatically prefix relative URIs with localhost:${local.server.port}.
Author
Phillip Webb
Andy Wilkinson
Eddú Meléndez
Madhura Bhave
Since
1.4.0
Constructors
Link copied to clipboard
Create a new
LocalHostUriTemplateHandler that will generate http URIs using the given environment to determine the context path and port.Create a new
LocalHostUriTemplateHandler that will generate URIs with the given scheme and use the given environment to determine the context-path and port.Create a new
LocalHostUriTemplateHandler that will generate URIs with the given scheme, use the given environment to determine the context-path and port and delegate to the given template handler.Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun withHandlerWrapper(wrapper: (UriTemplateHandler) -> UriTemplateHandler): RootUriTemplateHandler