LocalHostUriTemplateHandler

constructor(environment: Environment)

Create a new LocalHostUriTemplateHandler that will generate http URIs using the given environment to determine the context path and port.

Parameters

environment

the environment used to determine the port


constructor(environment: Environment, scheme: String)

Create a new LocalHostUriTemplateHandler that will generate URIs with the given scheme and use the given environment to determine the context-path and port.

Since

1.4.1

Parameters

environment

the environment used to determine the port

scheme

the scheme of the root uri


constructor(environment: Environment, scheme: String, handler: UriTemplateHandler)

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.

Since

2.0.3

Parameters

environment

the environment used to determine the port

scheme

the scheme of the root uri

handler

the delegate handler