-
Notifications
You must be signed in to change notification settings - Fork 78
feat: do not close or manage lifecycle of http-client passed in #25
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
Conversation
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.
Please add documentation to the Client(CloseableHttpClient httpClient)
constructor indicating that the client will not be closed on finalization.
@@ -48,13 +48,15 @@ public HttpDeleteWithBody(final String uri) { | |||
|
|||
private CloseableHttpClient httpClient; | |||
private Boolean test; | |||
private boolean createdHttpClient; |
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.
Set default value to false
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.
Disregard this comment. The default value will be false. That is sufficient.
LGTM |
could this be merged please? |
LGTM Please fix the conflict and I'll merge this :) Thanks! With Best Regards, Elmer |
ah conflicts. |
No description provided.