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

Update to OkHttp 2.0.0, which has a new OkUrlFactory #103

Merged
merged 1 commit into from
Jul 3, 2014

Conversation

rtyley
Copy link
Contributor

@rtyley rtyley commented Jun 28, 2014

OkHttp changed API with v2.0.0, and the client.open(url) method no longer exists:

"URLConnection support has moved to the okhttp-urlconnection module. If you're upgrading from 1.x, this change will impact you. You will need to add the okhttp-urlconnection module to your project and use
the OkUrlFactory to create new instances of HttpURLConnection"

https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-200-rc1

OkHttp changed API with v2.0.0, and the `client.open(url)` method no
longer exists:

"URLConnection support has moved to the okhttp-urlconnection module.
If you're upgrading from 1.x, this change will impact you. You will
need to add the okhttp-urlconnection module to your project and use
the OkUrlFactory to create new instances of HttpURLConnection"

https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-200-rc1
@buildhive
Copy link

Kohsuke Kawaguchi » github-api #198 SUCCESS
This pull request looks good
(what's this?)

@suryagaddipati
Copy link
Collaborator

LGTM

kohsuke added a commit that referenced this pull request Jul 3, 2014
Update to OkHttp 2.0.0, which has a new OkUrlFactory
@kohsuke kohsuke merged commit 62d9b92 into hub4j:master Jul 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants