-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #929 implement a utility class to save large downloads to a file #12292
Issue #929 implement a utility class to save large downloads to a file #12292
Conversation
Signed-off-by: Oleksandr Krutko <[email protected]>
Signed-off-by: Oleksandr Krutko <[email protected]>
Signed-off-by: Oleksandr Krutko <[email protected]>
Signed-off-by: Oleksandr Krutko <[email protected]>
Signed-off-by: Oleksandr Krutko <[email protected]>
Signed-off-by: Oleksandr Krutko <[email protected]>
The CI build failed due to javadoc issues.
You can see your CI builds here -> https://jenkins.webtide.net/blue/organizations/jenkins/jetty.project/activity?branch=PR-12292 |
Signed-off-by: Oleksandr Krutko <[email protected]>
Hello, |
All tests passed on my laptop with JDK17. Should I also run tests with JDK22? |
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.
@arsenalzp good effort!
Please follow my review, and your implementation should become much simpler and with less code.
Thanks!
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/Request.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/transport/HttpRequest.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
Our CI environment will do it, but sure if you want to try, give it a go. |
Signed-off-by: Oleksandr Krutko <[email protected]>
@arsenalzp, did you have time to review my comments? Thanks! |
Hello, |
Signed-off-by: Oleksandr Krutko <[email protected]>
Signed-off-by: Oleksandr Krutko <[email protected]>
It is failed on JDK21, previous failure was on JDK22. |
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.
Another good step, please review my comments.
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/Request.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/transport/HttpRequest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Oleksandr Krutko <[email protected]> make File channel field to ba the final Signed-off-by: Oleksandr Krutko <[email protected]>
ac9918a
to
2f0f9f8
Compare
Signed-off-by: Oleksandr Krutko <[email protected]>
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.
Good work @arsenalzp -- let's finish with the last touches.
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/transport/HttpRequest.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/PathResponseListener.java
Outdated
Show resolved
Hide resolved
I would like to tackle with another issue, something like the current one. |
It is always possible to tackle issues 😃 |
So, I would like to take something for my level, and interesting like this particular Issue. |
Fine, but first let's finish this one 😄 You can pick any that you like that has the label |
Signed-off-by: Oleksandr Krutko <[email protected]>
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.
Good job, thank you!
I'll squash and merge your work, and you'll retain authorship.
@arsenalzp please have a look at the final result. |
Everything is fine, thank you for your support! |
Hello,
This PR is trying to implement feature described in the issue #929.
Fixes: #929