Skip to content
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

Add commons-httpclient integration #1299

Merged
merged 5 commits into from Mar 6, 2020

Conversation

randomanderson
Copy link
Contributor

Adds support for commons-httpclient

@randomanderson randomanderson added the inst: others All other instrumentations label Mar 5, 2020
@randomanderson randomanderson requested a review from a team as a code owner March 5, 2020 20:27
// There are lots of weird versions in this project like "20020423"
// Keep things simple with just 3.x
pass {
group = "commons-httpclient"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SO OLD....

protected URI url(final HttpMethod httpMethod) throws URISyntaxException {
try {
// org.apache.commons.httpclient.URI -> java.net.URI
return new URI(httpMethod.getURI().toString());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunate there isn't a direct way to do this.

@randomanderson randomanderson merged commit 6ebc571 into master Mar 6, 2020
@randomanderson randomanderson deleted the landerson/commons-httpclient branch March 6, 2020 16:50
@tylerbenson tylerbenson added this to the 0.46.0 milestone Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inst: others All other instrumentations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants