Skip to content

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

Merged
kohsuke merged 1 commit into
hub4j:masterfrom
rtyley:okhttp-2.0.0
Jul 3, 2014
Merged

kohsuke merged 1 commit into
hub4j:masterfrom
rtyley:okhttp-2.0.0

Conversation

@rtyley

@rtyley rtyley commented Jun 28, 2014

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

@suryagaddipati

Copy link
Copy Markdown
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