1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-15 20:56:41 +03:00

187 Commits

Author SHA1 Message Date
Yuri Schimke
d73bc9625a new JDK releases, add alpn-boot versions 2017-11-18 08:21:05 +08:00
jwilson
51311219af [maven-release-plugin] prepare for next development iteration 2017-09-04 17:00:21 -04:00
jwilson
51663fd08f [maven-release-plugin] prepare release parent-3.9.0 2017-09-04 17:00:16 -04:00
dc
685f458030 build success on u141 & u144 (#3489) 2017-07-31 21:58:34 -04:00
jwilson
304d2c9630 [maven-release-plugin] prepare for next development iteration 2017-05-13 10:58:15 -04:00
jwilson
cb981daecf [maven-release-plugin] prepare release parent-3.8.0 2017-05-13 10:58:04 -04:00
Jake Wharton
145dbd74fd Okio 1.13.0 2017-05-12 15:36:04 -04:00
jwilson
011b2ee76d Import jsr305 and use it to mark @Nullable stuff.
This library is a provided dependency and is not necessary to be included
by OkHttp users.

This currently covers the okhttp and okhttp-logging-interceptor modules
only. It does not cover the 'internal' package in OkHttp, or its test cases.
We can add those as needed.
2017-05-06 15:25:55 -04:00
jwilson
83b9dd4275 Upgrade to Checktyle 7.7.
This allows us to put @Nullable immediately preceding the return type,
which is exactly where we want it.
2017-05-06 14:21:55 -04:00
jwilson
0bede6eb88 Configure ALPN for Java 1.8.0_131. 2017-04-29 21:41:52 -04:00
jwilson
6f8cdcca1d [maven-release-plugin] prepare for next development iteration 2017-04-15 21:53:08 -04:00
jwilson
e56f561e93 [maven-release-plugin] prepare release parent-3.7.0 2017-04-15 21:53:02 -04:00
jwilson
8119277581 Upgrade to Okio 1.12. 2017-04-15 21:32:54 -04:00
Jake Wharton
1c2c57b1a9 Add error-prone compiler and fix its found issues. 2017-02-14 22:42:59 -05:00
jwilson
9690110f81 [maven-release-plugin] prepare for next development iteration 2017-01-29 14:14:39 -05:00
jwilson
9dc1bbad24 [maven-release-plugin] prepare release parent-3.6.0 2017-01-29 14:14:33 -05:00
Jake Wharton
14b6c8a7aa Add ALPN jars for JDK 1.8.0_121. 2017-01-20 12:27:41 -08:00
Jesse Wilson
77405870a7 Merge pull request #3068 from yschimke/alpn_8_112
version bump for JDK 8 (112)
2016-12-27 09:19:01 -05:00
Yuri Schimke
116f5d1492 animal sniffer update for Java 9 2016-12-27 07:31:56 +00:00
Yuri Schimke
d6589ead6d version bump for JDK 8 (112) 2016-12-27 07:25:02 +00:00
jwilson
29f69277ea [maven-release-plugin] prepare for next development iteration 2016-12-01 12:53:49 -05:00
jwilson
366bc4752b [maven-release-plugin] prepare release parent-3.5.0 2016-12-01 12:53:45 -05:00
Jesse Wilson
7de5351e9a Merge pull request #2935 from square/jwilson.1022.slack_client_example
A WebSockets sample that uses the Slack API.
2016-10-23 11:47:54 -04:00
jwilson
bf5ade433f Set an ALPN-boot version for Java 8 v111. 2016-10-23 11:36:00 -04:00
jwilson
ce695b67fa A WebSockets sample that uses the Slack API.
Currently it just prints WebSockets messages as they arrive, never sending any.
In a follow-up I'd like to do that, and also start to use this to figure out
where and how our WebSockets client can be improved.

https://github.com/square/okhttp/issues/2902
2016-10-23 11:24:22 -04:00
Jake Wharton
af304b5a02 Okio 1.11.0. 2016-10-12 01:08:42 -04:00
Jesse Wilson
7135628c64 Merge pull request #2852 from square/jw/web-sockets
Move WebSockets from separate artifact to main.
2016-09-14 14:58:30 -04:00
Jake Wharton
039bcf92db Move WebSockets from separate artifact to main.
The factory method has moved to OkHttpClient and WebSocketCall has changed to an interface.
2016-09-13 12:29:19 -04:00
jwilson
ba1edd048e Upgrade to Okio 1.10. 2016-08-28 18:13:42 -04:00
boxme
557e4759cc Add mvn profile for ALPN version 8.1.9.v20160720 for jdk8 102 2016-08-22 12:05:58 +08:00
jwilson
591d595561 Remove some dead code pointed out by running coverage.
AOSP doesn't use SystemPropertiesConnectionPool so it's useless. It also doesn't
need to configure protocols through request properties.
2016-07-24 19:07:39 -04:00
jwilson
0c04821a25 Drop support for SPDY/3.
It's redundant with HTTP/2.
2016-07-09 17:19:04 -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
537df4219c Upgrade to Okio 1.9 and use its pipe. 2016-07-02 10:49:25 -04:00
Tobias Thierer
1ef0b078a8 Cleanup refactoring: Move 3 methods into DelegatingHttpsURLConnection
These three methods were delegating to delegate; their implementation
was duplicated across both subclasses of DelegatingHttpsURLConnection.

This change moves them into the base class in order to
  - avoid duplication
  - separate the responsibility of delegation (base class) from the
    responsibility of change to behavior (subclasses).

Notes:
 - Since these three methods are not available in Java 6, each of
   these need a @IgnoreJRERequirement annotation to pass the
   animal sniffer test. This appears like it should have been
   necessary before but for some reason it used to pass without.
 - This in turn requires a new dependency from okhttp-urlconnection
   onto animal-sniffer-annotations. The dependency was added onto
   version 1.11 of that library (consistent with okhttp itself);
   okio depends on version 1.10, the latest version is 1.15.
2016-06-28 18:22:02 -04:00
jwilson
5b8c043329 Fix tests to share a common Dispatcher.
Also fix the memory limit, which may prevent Travis from failing
our tests.
2016-06-25 21:36:38 -04:00
Jesse Wilson
25491a9066 Merge pull request #2596 from teresakrause/alpn_jdk8_profiles
Add alpn version support for all Java 8 versions
2016-06-01 18:21:52 -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
Yuri Schimke
8ceb7480f3 tests running in JDK 9 2016-05-28 13:09:24 -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
Teresa Krause
929bdaadfb Add alpn version support for all Java 8 versions 2016-05-16 16:58:36 -04:00
Yuri Schimke
3c51907351 split out platform building now that there are 4 2016-05-05 14:34:06 +10:00
Jake Wharton
be605dd647 Merge pull request #2529 from square/jwilson_0502_okio
Upgrade to Okio 1.8.0.
2016-05-02 01:33:21 -04:00
jwilson
ba51f5bff8 Upgrade to Okio 1.8.0. 2016-05-02 00:48:15 -04:00
Marvin Ramin
8f8018ce5d updates junit version to v4.12 2016-05-01 10:48:15 +02:00