Jesse Wilson
482f88300f
Merge pull request #6040 from square/jwilson.0509.insecureHost
...
HandshakeCertificates.Builder.addInsecureHost()
2020-05-11 18:04:02 -04:00
Jesse Wilson
1364ea44ae
HandshakeCertificates.Builder.addInsecureHost()
...
This API continues the work started here:
https://github.com/square/okhttp/pull/5872
2020-05-11 17:35:02 -04:00
Yuri Schimke
2d21be1184
Custom trust example & API for certificate decoding ( #6032 )
2020-05-09 14:40:15 +01:00
Yuri Schimke
0ea6ca0faa
Allowlist Sample for connecting to Dev servers ( #5868 )
2020-03-16 09:09:22 +00:00
Jesse Wilson
08e23fcd02
Add a canceled event to EventListener
2020-02-16 18:20:49 -05:00
Jesse Wilson
c1d50e371f
Upgrade Okio and some build dependencies
...
The new ktlint sorts imports which makes this diff large.
The new japicmp ignores 'final' modifier changes in final classes.
We adopt the Google style for checkstyle.xml.
Okio readByteString() now uses segments more aggressively, so we
need to mitigate that to avoid tracking those segments in a test.
2020-01-11 22:24:12 -05:00
Yuri Schimke
b2168ceb73
Fixup samples ( #5699 )
2020-01-05 15:14:58 +00:00
Yuri Schimke
b9d30d67ac
Samples cleanup
2019-12-08 21:30:01 +00:00
Jesse Wilson
7c802961af
Add Kotlin listings for OkHttp recipes doc
2019-09-28 14:00:26 -04:00
Yuri Schimke
2a1f328d58
Add proxy event logging ( #5300 )
2019-07-25 05:42:32 +01:00
Yuri Schimke
6903b89e0b
Cleanup of error prone and warnings ( #5268 )
...
* Comment some warnings
* Wrap
* Disable warnings
2019-07-15 21:11:35 -04:00
Jesse Wilson
911c5bf5b2
Prepare for release 4.0.0.
2019-06-26 19:30:33 -07:00
Jesse Wilson
eb7a0839ab
Suppress AllMainsTest.
...
It won't work in CI
2019-06-24 14:28:12 -07:00
Yuri Schimke
26949cf478
Fix samples and add test ( #5228 )
...
* Fix samples
* support different paths
* Simplify
2019-06-24 05:59:42 -07:00
Jesse Wilson
8bb58332db
Extension Functions toRequestBody(), toResponseBody()
2019-05-25 14:02:55 -04:00
Jesse Wilson
dc1e870d24
Basic Gradle support
2019-03-17 00:16:26 -04:00
Jesse Wilson
dedc6ecd5b
Use more AssertJ features
2019-03-14 17:57:42 -04:00
Jesse Wilson
695b46cb2e
[maven-release-plugin] prepare for next development iteration
2019-03-13 23:42:40 -04:00
Jesse Wilson
44d51d0ceb
[maven-release-plugin] prepare release parent-3.14.0
2019-03-13 23:42:33 -04:00
Jesse Wilson
aac6c8da07
Introduce EventListener.requestFailed, responseFailed events
...
These replace requestBodyEnd() / responseBodyEnd() in some failure scenarios.
They may also be issued in cases where no event was published previously.
2019-02-23 18:39:11 -05:00
Jesse Wilson
0a59e68b16
[maven-release-plugin] prepare for next development iteration
2019-02-05 12:15:46 -05:00
Jesse Wilson
d28d2cec21
[maven-release-plugin] prepare release parent-3.13.1
2019-02-05 12:15:39 -05:00
Jesse Wilson
5ecd590c8c
[maven-release-plugin] prepare for next development iteration
2019-02-04 23:32:52 -05:00
Jesse Wilson
d55661544b
[maven-release-plugin] prepare release parent-3.13.0
2019-02-04 23:32:45 -05:00
Jesse Wilson
778e0334a4
Use lambdas where appropriate
2019-01-11 22:31:36 -05:00
Jesse Wilson
c273b3be38
[maven-release-plugin] prepare for next development iteration
2018-11-16 23:44:19 -05:00
Jesse Wilson
7f63a35ab1
[maven-release-plugin] prepare release parent-3.12.0
2018-11-16 23:44:12 -05:00
Jesse Wilson
bcbbfc6a54
Make the nested BasicAuthInterceptor static ( #4368 )
2018-11-05 07:46:46 +00:00
jjshanks
0a8f418644
Add basic auth interceptor recipe ( #4336 )
2018-11-04 18:05:01 +00:00
Joshua Shanks
c951e6ed88
APIs to set date headers
2018-10-31 08:32:50 -07:00
Jesse Wilson
ed67b08057
Merge branch 'jwilson.0712.changelog_311'
...
* jwilson.0712.changelog_311:
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release parent-3.11.0
2018-07-13 00:10:48 -04:00
Jesse Wilson
7ef5f55d38
[maven-release-plugin] prepare for next development iteration
2018-07-12 23:41:09 -04:00
Jesse Wilson
95ae0cf421
[maven-release-plugin] prepare release parent-3.11.0
2018-07-12 23:41:00 -04:00
Jesse Wilson
c07b8fddc9
HTTPS server sample
2018-07-12 22:46:57 -04:00
Jake Wharton
36f4fd04f7
Add parse overload which fails on invalid inputs
2018-07-05 23:18:15 -04:00
Jesse Wilson
e86eb0e48b
[maven-release-plugin] prepare for next development iteration
2018-02-24 13:33:57 -05:00
Jesse Wilson
c0739a4199
[maven-release-plugin] prepare release parent-3.10.0
2018-02-24 13:33:52 -05:00
Yuri Schimke
fe445e4db6
Improve progress example ( #3744 )
...
* improve progress example
* bad import
2017-12-28 13:43:43 -05:00
Jesse Wilson
2bb2dc4340
[maven-release-plugin] prepare for next development iteration
2017-11-18 14:38:02 -05:00
Jesse Wilson
23b6f7556d
[maven-release-plugin] prepare release parent-3.9.1
2017-11-18 14:37:50 -05:00
Yuri Schimke
d6fd0d3832
Fix travis build
2017-09-12 08:32:24 +01:00
jwilson
b926a030c6
Add samples for EventListener
2017-09-06 12:11:37 -04: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
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
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
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
2d37490174
Add a sample where data is streamed via an Okio pipe.
2017-03-22 21:07:56 -04:00