-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Allow LocalHostUriTemplateHandler to be created with a custom underlying UriTemplateHandler #13208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow LocalHostUriTemplateHandler to be created with a custom underlying UriTemplateHandler #13208
Conversation
…ing UriTemplateHandler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I've added a couple of comments. It would be nice if that extra constructor was exercised by a test. Can you please add one?
| private final String rootUri; | ||
|
|
||
| private final UriTemplateHandler handler; | ||
| private final UriTemplateHandler delegateHandler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rename sounds unnecessary for the task at hand. Can you please revert?
| * @param environment the environment used to determine the port | ||
| * @param scheme the scheme of the root uri | ||
| * @param delegateHandler the delegate handler | ||
| * @since 2.0.X |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since tag uses actual version. That would be 2.0.3.
|
@mihhail-lapushkin thanks for the quick feedback. I did edit my comment to mention the addition of a test. Thoughts? |
|
Sure, I can add some. |
* pr/13208: Polish contribution Support custom UriTemplateHandler in LocalHostUriTemplateHandler
|
@mihhail-lapushkin thanks for the PR, it is now merged in |
#12871