jwilson
4fa181b3fe
[maven-release-plugin] prepare release parent-3.4.2
2016-11-03 23:21:50 -04:00
jwilson
6594d973dc
[maven-release-plugin] prepare for next development iteration
2016-07-10 11:10:08 -04:00
jwilson
aa69328e67
[maven-release-plugin] prepare release parent-3.4.1
2016-07-10 11:10:00 -04:00
jwilson
f85cae7f0d
[maven-release-plugin] prepare for next development iteration
2016-07-08 22:39:32 -04:00
jwilson
ee2b9a2917
[maven-release-plugin] prepare release parent-3.4.0
2016-07-08 22:39:28 -04:00
jwilson
7e773f39f9
[maven-release-plugin] prepare for next development iteration
2016-07-02 23:18:34 -04:00
jwilson
9db491924a
[maven-release-plugin] prepare release parent-3.4.0-RC1
2016-07-02 23:18:29 -04:00
jwilson
7a807aff6f
[maven-release-plugin] prepare for next development iteration
2016-05-28 14:11:55 -04:00
jwilson
358d96c5fb
[maven-release-plugin] prepare release parent-3.3.1
2016-05-28 14:11:52 -04:00
jwilson
16aed96a35
[maven-release-plugin] prepare for next development iteration
2016-05-24 22:12:31 -04:00
jwilson
b031042e67
[maven-release-plugin] prepare release parent-3.3.0
2016-05-24 22:12:28 -04:00
jwilson
3699d5c9fd
Better documentation and examples on closing response bodies.
...
Also implement Closeable on Response to make it easier to do the right thing.
2016-05-21 21:29:42 -04:00
jwilson
94bda42362
Pin fewer certificates in our sample.
...
Closes: https://github.com/square/okhttp/issues/2535
2016-05-07 18:21:50 -04:00
jwilson
ad103f421e
Use Moshi in OkHttp.
...
As discussed here: https://github.com/square/okhttp/pull/2492
2016-04-21 23:20:30 -10:00
jwilson
85f74e2004
Accept user-provided trust managers in OkHttpClient.Builder
...
Closes: https://github.com/square/okhttp/issues/2427
2016-03-28 19:02:25 -04:00
jwilson
c293aecd28
[maven-release-plugin] prepare for next development iteration
2016-02-25 20:54:11 -05:00
jwilson
14eb077351
[maven-release-plugin] prepare release parent-3.2.0
2016-02-25 20:54:08 -05:00
jwilson
7396ac00bc
Implement support for SHA-256 pins.
...
Closes: https://github.com/square/okhttp/issues/1539
2016-02-21 18:38:04 -05:00
jwilson
ac4aea6a52
[maven-release-plugin] prepare for next development iteration
2016-02-10 08:37:54 -05:00
jwilson
9aa5e87a2c
[maven-release-plugin] prepare release parent-3.1.2
2016-02-10 08:37:52 -05:00
jwilson
ef1dbe1297
[maven-release-plugin] prepare for next development iteration
2016-02-07 22:10:22 -05:00
jwilson
0cd6b186b1
[maven-release-plugin] prepare release parent-3.1.1
2016-02-07 22:10:19 -05:00
jwilson
50395f9b6a
[maven-release-plugin] prepare for next development iteration
2016-02-06 12:59:27 -05:00
jwilson
519ec8adca
[maven-release-plugin] prepare release parent-3.1.0
2016-02-06 12:59:23 -05:00
Dave Roberge
0f4d824418
Updated gson recipe to close response body.
2016-01-16 13:52:53 -05:00
jwilson
9b0706489c
[maven-release-plugin] prepare for next development iteration
2016-01-14 16:03:12 -08:00
jwilson
bdbb3ad03c
[maven-release-plugin] prepare release parent-3.0.1
2016-01-14 16:03:08 -08:00
jwilson
2dc79e01e1
[maven-release-plugin] prepare for next development iteration
2016-01-13 14:12:19 -08:00
jwilson
c9b812a4ab
[maven-release-plugin] prepare release parent-3.0.0
2016-01-13 14:12:09 -08:00
jwilson
8ff3725031
Change Callback to take a Call.
...
This makes it much easier to test if the call was canceled.
Note that the Call's request is always the original user request.
This is different than the previous request that was passed in, as
that could have been the follow up to a redirect.
2016-01-11 15:40:28 -08:00
jwilson
a2d9f7cfa9
Adjust documentation for OkHttp 3.
2016-01-02 09:34:47 -05:00
jwilson
6d1a0b4f96
[maven-release-plugin] prepare for next development iteration
2016-01-02 02:31:17 -05:00
jwilson
ffc35dbd02
[maven-release-plugin] prepare release parent-3.0.0-RC1
2016-01-02 02:31:14 -05:00
jwilson
7826bcb2fb
Fix some get prefixes on Cache and ConnectionPool.
2016-01-02 02:07:30 -05:00
jwilson
21d6303418
Restore no-args constructor for OkHttpClient.
...
This is a popular API and keeping it working is handy.
2016-01-01 15:22:14 -05:00
jwilson
38d570a6b2
Drop get and set prefixes in OkHttpClient, OkHttpClient.Builder
2016-01-01 12:12:35 -05:00
jwilson
f2461183e8
Refactor towards an OkHttpClient.Builder.
...
Still some work to do on method naming, but this was the interesting part.
Also very much need to rename OkUrlFactory in tests to urlFactory, otherwise
the client.client stuff becomes madness.
2016-01-01 10:55:32 -05:00
jwilson
e7023e0344
Sort more imports and wrap documentation at 100 columns.
...
This is a mechanical refactoring. The only thing I had trouble with is IntelliJ's
weak support for `<ul>` tags in Javadoc.
2015-12-23 19:37:17 -05:00
jwilson
02d6b4e78c
Drop the get prefix on Connection accessors.
2015-12-21 21:10:48 -05:00
Jesse Wilson
a7605a62f7
Merge pull request #2126 from square/jwilson_1217_authenticator3
...
One authenticate method on the authenticator interface.
2015-12-18 10:28:10 -05:00
jwilson
0bfd604857
One authenticate method on the authenticator interface.
...
Instead of having one instance of Authenticator, and that interface
defines two methods, we now have two instances of Authenticator and
that interface defines one method.
This prevents leaking request-specific configuration (the authenticator)
into shared connection configuration (the proxy authenticator).
2015-12-18 09:56:53 -05:00
Jake Wharton
d1f94df145
Querying the response content-length never does I/O.
2015-12-17 19:15:12 -05:00
jwilson
ce3e7c40ff
Change groupid to com.squareup.okhttp3.
2015-12-16 19:40:48 -05:00
jwilson
c9a89876de
Rename com.squareup.okhttp to okhttp3
...
Maven group changes will come in follow up.
2015-12-16 01:34:59 -05:00
Jesse Wilson
52fa3cf24d
Merge pull request #2105 from square/jw/no-throws
...
Remove IOException from source() and streams.
2015-12-15 20:54:08 -05:00
Jesse Wilson
f5d0abd059
Merge pull request #2101 from square/jw/model
...
Convert form-encoding body to model-based version.
2015-12-15 09:42:44 -05:00
Jake Wharton
c642bea938
Remove Request#urlString(), just use url().toString().
2015-12-15 00:33:09 -05:00
Jake Wharton
dcb3c14435
Remove IOException from source() and streams.
2015-12-15 00:05:34 -05:00
Jake Wharton
6711a2b670
Convert form-encoding body to model-based version.
...
Update the Multipart version as well to match some conventions.
2015-12-14 22:39:14 -05:00
Jake Wharton
93d547dcda
Make HttpUrl the blessed URL method of Request.
2015-12-14 15:11:48 -05:00