jwilson
98a2ce65a4
[maven-release-plugin] prepare for next development iteration
2016-02-26 10:22:36 -05:00
jwilson
6e236ce3b8
[maven-release-plugin] prepare release parent-2.7.5
2016-02-26 10:22:34 -05:00
jwilson
9c78865eee
[maven-release-plugin] prepare for next development iteration
2016-02-07 22:21:13 -05:00
jwilson
edaa258106
[maven-release-plugin] prepare release parent-2.7.4
2016-02-07 22:21:10 -05:00
jwilson
831230aaf6
[maven-release-plugin] prepare for next development iteration
2016-02-06 22:13:31 -05:00
jwilson
2df2565bba
[maven-release-plugin] prepare release parent-2.7.3
2016-02-06 22:13:28 -05:00
jwilson
6b98d856e6
[maven-release-plugin] prepare for next development iteration
2016-01-08 00:27:51 -05:00
jwilson
abf0341402
[maven-release-plugin] prepare release parent-2.7.2
2016-01-08 00:27:47 -05:00
jwilson
a62836f2da
[maven-release-plugin] prepare for next development iteration
2016-01-01 11:13:40 -05:00
jwilson
e871c6068a
[maven-release-plugin] prepare release parent-2.7.1
2016-01-01 11:13:35 -05:00
jwilson
dbb2327f42
Prepare to cut the 2.7.1 release.
2016-01-01 10:59:42 -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
7722f32b6c
Include a filename in the PostMultipart example.
...
Closes: https://github.com/square/okhttp/issues/1521
2015-11-10 23:49:52 -08:00
Jake Wharton
bffee23367
Introduce intermediate storage for frame contents.
...
This eliminates the need to always send a frame for every FrameSink#write and to always send an empty frame for FrameSink#close. Now, we only emit bytes once Okio reports complete segments.
2015-09-27 00:37:34 -04:00
Jake Wharton
40a6dc7dd5
Represent WebSocket payload using RequestBody and ResponseBody.
2015-09-26 20:13:35 -04: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
4c90a2e04a
Use HttpUrl internally.
2015-08-02 21:01:26 -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
Jake Wharton
2cde6765c6
Call onOpen on the reader thread and force writing on another thread.
2015-05-22 17:24:41 -04:00
Jake Wharton
8e25853755
Add optional Response to WS failure callback.
...
This also removes the explicit Request from WS open callback. It can be accessed by calling 'request()' on the supplied Response.
2015-05-21 00:56:30 -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
Anton Rieder
7cbb0cbdad
Pass correct boolean for done
2015-03-23 02:08:30 +01:00
Anton Rieder
c30b6e5410
Download progress recipe
2015-03-22 17:26:40 +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
jwilson
2e07d308d2
Custom trust recipe.
...
To my great delight, Java and Android can read .pem files without
the BKS or JKS store files we typically use to distribute trusted
certificates.
This recipe includes a big copy-and-pasteable method for converting
an InputStream of PEM files into an SSLContext. The rest of it is
warnings about how dangerous that is.
Closes https://github.com/square/okhttp/issues/1336
2015-03-15 21:01:07 -04:00
Jake Wharton
0b2ef95640
Move WebSocket to the public API in a sibling module.
2015-03-11 12:24:58 -04:00
Jake Wharton
9631227619
Add a web socket call concept for connecting.
...
Similar to HTTP and Call, the WebSocketCall is a representation of a pending HTTP request and subsequent upgrade to speak web sockets. Upon synchronous execution you are handed a WebSocket instance for synchronous writing and also pass in a WebSocketListener for async callbacks due to reading.
The API changes in this commits also generalize WebSocket such that it's agnostic to being a client or server peer.
2014-12-31 23:13:07 -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
Jesse Wilson
14ce397c11
Merge pull request #1227 from square/jwilson_1224_interceptor_samples_ii
...
Two more interceptor examples.
2014-12-24 11:58:38 -05:00
Jesse Wilson
94db3ceb0c
Two more interceptor examples.
2014-12-24 11:58:07 -05:00
Jesse Wilson
180f657573
Two interceptor samples.
2014-12-23 21:32:32 -05:00
Jake Wharton
789b536cb3
Working towards 2.2.0.
2014-11-29 18:15:31 -08:00
Jake Wharton
ff622aff0f
Merge pull request #1129 from square/websockets
...
Websockets!
2014-11-29 16:54:51 -08:00
Jesse Wilson
122e99980d
More context when the hostname is not verified.
...
Exception in thread "main" java.io.IOException: Hostname square.com not verified:
certificate: sha1/FBzx5Wrwa9EpylnPrsKjpBQu1RE=
DN: CN=square.com, OU=Information Security, O=Square Inc., STREET=1455 Market Street, L=San Francisco, ST=California, OID.2.5.4.17=94103, C=US, SERIALNUMBER=4699855, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US
subjectAltNames: [square.com, www.square.com, cash.square.com, blog.square.com]
at com.squareup.okhttp.Connection.upgradeToTls(Connection.java:242)
at com.squareup.okhttp.Connection.connect(Connection.java:155)
at com.squareup.okhttp.Connection.connectAndSetOwner(Connection.java:171)
at com.squareup.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:119)
Closes https://github.com/square/okhttp/issues/1163
2014-11-25 22:22:41 -05:00
Jake Wharton
f6617dd103
Migrate types to 'internal' package.
...
This will allow us to bake the implementation and API on master with normal development of the library.
2014-11-04 23:42:51 -08:00
Jake Wharton
b72c9567df
Hook up the web socket reader and writer together.
...
Add a simple real-world recipe which talks to an echo server.
2014-11-04 23:29:57 -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
Jesse Wilson
83090befcc
Certificate pinning.
2014-10-11 22:27:13 -04:00
mike castleman
a1c0872a34
provide a friendlier API for multipart forms.
...
Also, escape the name and filename tokens, and include some small
changes from CR.
2014-07-01 19:53:38 -04:00
Jesse Wilson
f2d5fcbd40
[maven-release-plugin] prepare for next development iteration
2014-06-21 00:02:22 -04:00