1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-27 18:21:14 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
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
16173e2af9 Make Platform.log exception parameter optional (#5482)
Make Platform.log exception parameters optional, and reorders to allow level defaulting to INFO.
2019-09-29 16:59:58 +10:00
Jesse Wilson
f87bb6d817 Reorder the members of OkHttpClient (#5114)
This isn't perfect but I think it's a bit more logical.
2019-05-25 06:50:37 +01:00
Jesse Wilson
030dbeae26 Delete unwanted whitespace.
I think the convert-to-Kotlin feature adds these
2019-05-22 21:12:55 -04:00
Jake Wharton
f2187bb6e3 Smattering of Kotlin part 2 (#5087)
* Migrate eventListenerFactory to extension function

* Inline platformTrustManager

* Migrate delimiterOffset to extension functions

Also overhaul these and other string-manipulating functions to have default arguments for start/end indices.

* Migrate hostHeader and toHeaders to extension functions
2019-05-21 21:51:18 -04:00
Jake Wharton
42a41f3857 Smattering of Kotlin stuff (#5083)
* Migrate sameConnection to extension function

* Migrate bomAwareCharset to extension function

* Migrate verifyAsIpAddress to extension function

* Migrate indexOfControlOrNonAscii to extension function

* Migrate skip(Leading/Trailing)AsciiWhitespace and trimSubstring to extension functions

* Migrate toHeaderBlock to extension function
2019-05-20 23:17:37 -04:00
Jesse Wilson
e67ec3c51e Adopt HttpUrl's new Kotlin API 2019-05-20 21:01:04 -04:00
Jake Wharton
450750c031 Eliminate Util object in favor of top-level functions 2019-05-20 18:13:30 -04:00
Yuri Schimke
f3949c23bc Spotless code formatter 2019-04-10 22:44:58 +01:00
Jesse Wilson
0ece6afccc Convert Cookie to Kotlin 2019-03-24 22:15:03 -05:00