1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-17 08:42:25 +03:00
Commit Graph

82 Commits

Author SHA1 Message Date
jwilson
c9b812a4ab [maven-release-plugin] prepare release parent-3.0.0 2016-01-13 14:12:09 -08:00
lburgazzoli
2b29196ee2 Make OkHttp OSGi ready 2016-01-05 09:22:11 +01: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
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
98ae0fb92c Sort 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:34:28 -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
Jake Wharton
f8923a4766 Deprecate the Apache shim. 2015-12-14 22:42:32 -05:00
jwilson
68e3fbb0a3 Fix some breaks calling obsolete APIs. 2015-12-13 22:39:30 -05:00
jwilson
b809280b16 [maven-release-plugin] prepare for next development iteration 2015-12-13 20:35:30 -05:00
jwilson
a36b1fb73c [maven-release-plugin] prepare release parent-2.7.0 2015-12-13 20:35:26 -05:00
jwilson
94ca8566b2 [maven-release-plugin] prepare for next development iteration 2015-11-22 12:30:35 -05:00
jwilson
d0a381edc1 [maven-release-plugin] prepare release parent-2.6.0 2015-11-22 12:30:31 -05:00
jwilson
8efaead13d [maven-release-plugin] prepare for next development iteration 2015-08-25 21:11:25 -04:00
jwilson
f36bed41a8 [maven-release-plugin] prepare release parent-2.5.0 2015-08-25 21:11:22 -04:00
jwilson
d6be7545e6 [maven-release-plugin] prepare for next development iteration 2015-05-22 19:47:49 -04:00
jwilson
7298bee253 [maven-release-plugin] prepare release parent-2.4.0 2015-05-22 19:47:47 -04:00
jwilson
a96c439a91 [maven-release-plugin] prepare for next development iteration 2015-05-16 17:03:20 -04:00
jwilson
5cc7dba3ad [maven-release-plugin] prepare release parent-2.4.0-RC1 2015-05-16 17:03:16 -04:00
Noriyoshi Fukuzaki
9235529746 Allow an empty PUT and POST to keep compatibility
commit d36da22271054ea84b5f6a5b182042a3476696bc
Author: Noriyoshi Fukuzaki <noriyoshi.fukuzaki@kii.com>
Date:   Fri May 1 13:14:39 2015 +0900

    reverted a code formatting

commit 80c7e2da23cdc9be90ff208f609c5ba5f0a5a394
Author: Noriyoshi Fukuzaki <noriyoshi.fukuzaki@kii.com>
Date:   Sat Apr 25 21:22:43 2015 +0900

    added assertion code

commit 198f55778241f20b0e3de2f4d56e8aea38c4c934
Author: Noriyoshi Fukuzaki <noriyoshi.fukuzaki@kii.com>
Date:   Fri Apr 24 16:38:47 2015 +0900

    Allow an empty PUT and POST to keep compatibility
2015-05-10 10:56:11 -04:00
Jesse Wilson
c8bd6f834d Merge pull request #1555 from nfuller/AggressiveUncaughtExceptionHandler
Install an UncaughtExceptionHandler during tests
2015-05-01 10:54:41 -04:00
Jake Wharton
9b8ea972bf Add a test for case insensitive content type matching. 2015-04-17 10:30:39 -04:00
Noriyoshi Fukuzaki
8bce6897f9 fixed a bug that content type is compared by case sensitive 2015-04-17 15:54:10 +09:00
Neil Fuller
4e08085cc8 Install an UncaughtExceptionHandler during tests
This is to make the tests more brittle around uncaught exceptions
as they are on Android. No uncaught exceptions should escape.
2015-04-14 16:55:26 +01:00
jwilson
0237d3c3f2 [maven-release-plugin] prepare for next development iteration 2015-03-16 22:28:12 -04:00
jwilson
c49eedeba3 [maven-release-plugin] prepare release parent-2.3.0 2015-03-16 22:28:09 -04:00
Neil Fuller
6ca86d4de1 Source-incompatible: ResponseBody methods throw IOException
This is a binary-compatible change, but code that currently calls
ResponseBody [contentLength()|byteStream()|source()|charStream()]
that doesn't necessarily catch or declare IOException will need
to with this change.

These methods could be performing I/O (opening streams, etc.).
Throwing IOException seems reasonable in this case.

contentType() and charset() have not been changed.
2015-01-09 15:32:24 +00:00
Jake Wharton
5355762a6f Rename play to start. 2015-01-04 23:17:42 -08:00
Jake Wharton
8b6aa0dca5 Use a Buffer for body contents. 2015-01-02 14:03:25 -08:00
Jesse Wilson
1d86439e90 [maven-release-plugin] prepare for next development iteration 2014-12-30 21:52:35 -05:00
Jesse Wilson
6aef5ab3c5 [maven-release-plugin] prepare release parent-2.2.0 2014-12-30 21:52:33 -05:00
Jake Wharton
15c81fdfc2 Normalize caching size in loop-local variable.
This was present in a bunch of loops, but not all and not consistently. After fixing two, I figured that I would normalize them all under the umbrella of uniformity and being lazy (only lookup up the value once if it never changes).
2014-12-24 11:33:14 -08:00
Jake Wharton
789b536cb3 Working towards 2.2.0. 2014-11-29 18:15:31 -08:00
Jesse Wilson
ec1b266f1d [maven-release-plugin] prepare for next development iteration 2014-11-05 02:12:03 -05:00
Jesse Wilson
7b6771bb29 [maven-release-plugin] prepare release parent-2.1.0-RC1 2014-11-05 02:12:01 -05:00
Jesse Wilson
0316426ecf Bump pom versions to 2.1.0-SNAPSHOT. 2014-11-05 00:21:52 -05:00
Jake Wharton
b16c9f29a8 Support overriding content type via explicit header. 2014-08-19 09:16:58 -07:00
Jesse Wilson
f2d5fcbd40 [maven-release-plugin] prepare for next development iteration 2014-06-21 00:02:22 -04:00
Jesse Wilson
a3c18f69c9 [maven-release-plugin] prepare release parent-2.0.0 2014-06-21 00:02:19 -04:00
Jesse Wilson
2cea341be1 [maven-release-plugin] prepare for next development iteration 2014-06-11 01:36:58 -04:00
Jesse Wilson
f171096b11 [maven-release-plugin] prepare release parent-2.0.0-RC2 2014-06-11 01:34:55 -04:00
Jesse Wilson
e870d2645a Build Javadoc for OkUrlFactory and OkApacheClient.
Also create a permanent URL for 1.x Javadoc.
2014-05-24 17:35:20 -04:00
Jesse Wilson
cc92c4cecc [maven-release-plugin] prepare for next development iteration 2014-05-24 02:03:47 -04:00
Jesse Wilson
8dcc74d339 [maven-release-plugin] prepare release parent-2.0.0-RC1 2014-05-24 02:03:37 -04:00
Jesse Wilson
9fcb67db2f Rename Request.Body to RequestBody and Response.Body to ResponseBody.
Compelling alternative is ReadableBody and WritableBody, or BodySource and BodySink.
Which in theory permits reuse for serverside body makers. But I don't like those names
as much.
2014-05-10 08:26:44 -04:00
Adrian Cole
499f402d05 Merge pull request #764 from square/adrian.callfusion
Merge Job into Call. CallTest = AsyncApiTest + SyncApiTest
2014-04-25 13:00:59 -07:00
Adrian Cole
63d4dfaaa6 Merge Job into Call. CallTest = AsyncApiTest + SyncApiTest. 2014-04-25 11:13:39 -07:00