René's URL Explorer Experiment


Title: Apache HttpClient 5 integration by davidkron · Pull Request #1017 · scribejava/scribejava · GitHub

Open Graph Title: Apache HttpClient 5 integration by davidkron · Pull Request #1017 · scribejava/scribejava

X Title: Apache HttpClient 5 integration by davidkron · Pull Request #1017 · scribejava/scribejava

Description: Based on the ticket I created: #1016 I implemented this integration of Apache HttpClient 5.1 for Scribe. My code is more or less a copy of the existing HttpClient 4.x implementation (https://github.com/scribejava/scribejava/tree/master/scribejava-httpclient-apache) with the necessary modifications to dependencies and the package structure that changed with httpclient5. What I am not 100% sure about, is the whole asynchronous stuff from HttpClient as I primarily have experience with the synchronous API. The whole asynchronous API in HttpClient 5 doesn't seem to be using the same approach anymore as before with the HttpResponse containing also the HttpEntity/InputStream. But there are some compatibilty classes available, so that's why I choose to stay as close to the previous implementation as possible, especially since the Scribe API primarily is using InputStream. I used and tested the same implementation also in our project, but as I just implemented it, I don't yet have any experience over a longer period of usage.

Open Graph Description: Based on the ticket I created: #1016 I implemented this integration of Apache HttpClient 5.1 for Scribe. My code is more or less a copy of the existing HttpClient 4.x implementation (https://github...

X Description: Based on the ticket I created: #1016 I implemented this integration of Apache HttpClient 5.1 for Scribe. My code is more or less a copy of the existing HttpClient 4.x implementation (https://github...

Opengraph URL: https://github.com/scribejava/scribejava/pull/1017

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f9ed0f2a-649d-1bcb-1b96-7c208001cdb4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB48:6E82B:25ABE11:3439690:696FFF8C
html-safe-nonce0fe6f4d4d04018c1539a5141cf89e48b01cb5c58af54d7c84ce4e0de4c714085
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjQ4OjZFODJCOjI1QUJFMTE6MzQzOTY5MDo2OTZGRkY4QyIsInZpc2l0b3JfaWQiOiI4MDgzNDMzMjI4MDE1MjM5MDUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4c6a641ff6720e2912883763005fba81a3f1d33ea547c675a8112cf3db2acc47
hovercard-subject-tagpull_request:693771165
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/scribejava/scribejava/pull/1017/files
twitter:imagehttps://avatars.githubusercontent.com/u/3026417?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3026417?s=400&v=4
og:image:altBased on the ticket I created: #1016 I implemented this integration of Apache HttpClient 5.1 for Scribe. My code is more or less a copy of the existing HttpClient 4.x implementation (https://github...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0366807b865cee6776368231232f84d6c8096e6bce43f701a4fb28ea795ec427
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/scribejava/scribejava git https://github.com/scribejava/scribejava.git
octolytics-dimension-user_id15140551
octolytics-dimension-user_loginscribejava
octolytics-dimension-repository_id889932
octolytics-dimension-repository_nwoscribejava/scribejava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id889932
octolytics-dimension-repository_network_root_nwoscribejava/scribejava
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release33f356bb2fb58726ccb2f26395bf8ddc9a2d9eaa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscribejava%2Fscribejava%2Fpull%2F1017%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscribejava%2Fscribejava%2Fpull%2F1017%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scribejava%2Fscribejava
Reloadhttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Reloadhttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Reloadhttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
scribejava https://patch-diff.githubusercontent.com/scribejava
scribejavahttps://patch-diff.githubusercontent.com/scribejava/scribejava
Please reload this pagehttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fscribejava%2Fscribejava
Fork 1.7k https://patch-diff.githubusercontent.com/login?return_to=%2Fscribejava%2Fscribejava
Star 5.5k https://patch-diff.githubusercontent.com/login?return_to=%2Fscribejava%2Fscribejava
Code https://patch-diff.githubusercontent.com/scribejava/scribejava
Issues 44 https://patch-diff.githubusercontent.com/scribejava/scribejava/issues
Pull requests 29 https://patch-diff.githubusercontent.com/scribejava/scribejava/pulls
Actions https://patch-diff.githubusercontent.com/scribejava/scribejava/actions
Projects 0 https://patch-diff.githubusercontent.com/scribejava/scribejava/projects
Wiki https://patch-diff.githubusercontent.com/scribejava/scribejava/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/scribejava/scribejava/security
Please reload this pagehttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Insights https://patch-diff.githubusercontent.com/scribejava/scribejava/pulse
Code https://patch-diff.githubusercontent.com/scribejava/scribejava
Issues https://patch-diff.githubusercontent.com/scribejava/scribejava/issues
Pull requests https://patch-diff.githubusercontent.com/scribejava/scribejava/pulls
Actions https://patch-diff.githubusercontent.com/scribejava/scribejava/actions
Projects https://patch-diff.githubusercontent.com/scribejava/scribejava/projects
Wiki https://patch-diff.githubusercontent.com/scribejava/scribejava/wiki
Security https://patch-diff.githubusercontent.com/scribejava/scribejava/security
Insights https://patch-diff.githubusercontent.com/scribejava/scribejava/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fscribejava%2Fscribejava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fscribejava%2Fscribejava%2Fissues%2Fnew%2Fchoose
davidkronhttps://patch-diff.githubusercontent.com/davidkron
scribejava:masterhttps://patch-diff.githubusercontent.com/scribejava/scribejava/tree/master
davidkron:apache-httpclient5https://patch-diff.githubusercontent.com/davidkron/scribejava/tree/apache-httpclient5
Conversation 4 https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017
Commits 1 https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/commits
Checks 0 https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/checks
Files changed https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Apache HttpClient 5 integration https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
a21d18f Apache HttpClient 5 integration davidkron Jul 20, 2021 https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/commits/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3
Clear filters https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
pom.xml https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
pom.xml https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-ac44ade4114f909f8d74f05f26d656444aea95f06ae352116a81ef00c540817a
ApacheHttpClient5.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-124af1f4540891b1dbd14c8e1c4113c183994f6833011ba7f50dc74e116dae9d
ApacheHttpClient5Config.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-40735138d0561deae9551682e8922f25dfd20e7ca887593d6b63d36fa4566660
ApacheHttpClient5Provider.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-82658d22aacfb2ed2123ecb11ee0e1dcb372ba01fdbcdb08ceb832fe25e663ab
ApacheHttpFuture.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-7f462d50c4a384afd433d8768dee83dd77a898ac160a13d361259667b7ffaa56
AsyncHttpEntityConsumer.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-86fe1f30d4f7def225355802b379ac9b51c2e1e193470191fc6356d2c233a67d
OAuthAsyncCompletionHandler.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-10d834841498a03246b9c8fb4a9dc5c14c14e37b4fcc9d7c1b4bbcd8d9ad21e6
ResponseWithEntity.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-4a7280d96a09af9d353e35f9888120c7edf9340aeed589183dc1b3e836d6ab69
ResponseWithEntityConsumer.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-abe284399cdba37843a264426a33c36f3735c4aa149302b0f78f44541babbfac
com.github.scribejava.core.httpclient.HttpClientProvider https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-f810757e3089d49615c094a80360e2f47c13bbe9140018039d05a9b6fe3f79be
ApacheHttpClient5Test.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-298f4a3b03feb481e0d6a15197f91324ced04b87f6bc3f27c138a92d032d6d82
OAuthAsyncCompletionHandlerTest.java https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-a31c218b646339d9ec8ba86a5ad895729c149f5e6b736bfac0a7692ca3127d0d
pom.xmlhttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
View file https://patch-diff.githubusercontent.com/scribejava/scribejava/blob/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3/pom.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
scribejava-httpclient-apache5/pom.xmlhttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-ac44ade4114f909f8d74f05f26d656444aea95f06ae352116a81ef00c540817a
View file https://patch-diff.githubusercontent.com/scribejava/scribejava/blob/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3/scribejava-httpclient-apache5/pom.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/{{ revealButtonHref }}
...ent-apache5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpClient5.javahttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-124af1f4540891b1dbd14c8e1c4113c183994f6833011ba7f50dc74e116dae9d
View file https://patch-diff.githubusercontent.com/scribejava/scribejava/blob/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3/scribejava-httpclient-apache5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpClient5.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/{{ revealButtonHref }}
...ache5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpClient5Config.javahttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-40735138d0561deae9551682e8922f25dfd20e7ca887593d6b63d36fa4566660
View file https://patch-diff.githubusercontent.com/scribejava/scribejava/blob/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3/scribejava-httpclient-apache5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpClient5Config.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/{{ revealButtonHref }}
...he5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpClient5Provider.javahttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-82658d22aacfb2ed2123ecb11ee0e1dcb372ba01fdbcdb08ceb832fe25e663ab
View file https://patch-diff.githubusercontent.com/scribejava/scribejava/blob/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3/scribejava-httpclient-apache5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpClient5Provider.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/{{ revealButtonHref }}
...ient-apache5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpFuture.javahttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-7f462d50c4a384afd433d8768dee83dd77a898ac160a13d361259667b7ffaa56
View file https://patch-diff.githubusercontent.com/scribejava/scribejava/blob/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3/scribejava-httpclient-apache5/src/main/java/com/github/scribejava/httpclient/apache5/ApacheHttpFuture.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/{{ revealButtonHref }}
...ache5/src/main/java/com/github/scribejava/httpclient/apache5/AsyncHttpEntityConsumer.javahttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files#diff-86fe1f30d4f7def225355802b379ac9b51c2e1e193470191fc6356d2c233a67d
View file https://patch-diff.githubusercontent.com/scribejava/scribejava/blob/a21d18f1192c8a3f1a6439f2ec1b4230f1c34ce3/scribejava-httpclient-apache5/src/main/java/com/github/scribejava/httpclient/apache5/AsyncHttpEntityConsumer.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/{{ revealButtonHref }}
Please reload this pagehttps://patch-diff.githubusercontent.com/scribejava/scribejava/pull/1017/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.