Jake Wharton
faea360ddf
Toward a 2.0!
2014-01-11 18:59:47 -08:00
Jake Wharton
86e730f612
Only Java 6 and up are supported now.
2014-01-05 00:42:08 -08:00
Jake Wharton
ca7d09b4e8
[maven-release-plugin] prepare for next development iteration
2013-08-23 23:19:52 -07:00
Jake Wharton
4eb81fee1f
[maven-release-plugin] prepare release parent-1.2.1
2013-08-23 23:19:48 -07:00
Jake Wharton
db3b3f4d2a
[maven-release-plugin] prepare for next development iteration
2013-08-12 00:01:30 -07:00
Jake Wharton
f7699d9243
[maven-release-plugin] prepare release parent-1.2.0
2013-08-12 00:01:26 -07:00
Jake Wharton
bc3aa64462
Revert "[maven-release-plugin] prepare release parent-1.2"
...
This reverts commit ad928c668d .
2013-08-11 23:45:35 -07:00
Jake Wharton
490019163f
Update checkstyle stuffs.
2013-08-11 23:43:03 -07:00
Jake Wharton
9ddc3d75de
Only exclude Javadoc from 'internal' package in the main artifact.
2013-08-11 23:42:55 -07:00
jwilson
3626d69813
[maven-release-plugin] prepare for next development iteration
2013-08-11 10:30:12 -04:00
jwilson
ad928c668d
[maven-release-plugin] prepare release parent-1.2
2013-08-11 10:30:06 -04:00
jwilson
8535f2447c
Repackage mockwebserver in com.squareup.okhttp.mockwebserver.
2013-08-05 18:04:25 -04:00
jwilson
3c0faa9ca1
Make a home for MockWebServer in OkHttp.
...
To build HTTP/2.0 support into OkHttp I'm going to simultaneously
build HTTP/2.0 support into MockWebServer. To make that possible,
I'm first going to fork MockWebServer and then combine it with
MockSpdyServer.
2013-08-03 12:50:04 -04:00
jwilson
c2da9cc645
Support streaming request bodies longer than 2 GiB.
...
This uses a new API only available in Java 1.7 and
better.
2013-07-09 01:54:15 -04:00
jwilson
ad5ac4a57f
[maven-release-plugin] prepare for next development iteration
2013-06-23 20:01:05 -04:00
jwilson
d439855a9d
[maven-release-plugin] prepare release parent-1.1.1
2013-06-23 20:01:02 -04:00
jwilson
5516526004
[maven-release-plugin] prepare for next development iteration
2013-06-15 20:28:32 -04:00
jwilson
20f7eebbf5
[maven-release-plugin] prepare release parent-1.1.0
2013-06-15 20:28:28 -04:00
Craig
a6d07d9b68
Use animal-sniffer to ensure only Java 1.5 is used
2013-05-21 23:17:07 -04:00
Jake Wharton
1482bc4032
[maven-release-plugin] prepare for next development iteration
2013-05-11 20:56:21 -07:00
Jake Wharton
34049c1c0f
[maven-release-plugin] prepare release parent-1.0.2
2013-05-11 20:56:12 -07:00
jwilson
5345c1ab20
Hide internal from Javadocs
2013-05-07 11:20:02 -04:00
Jake Wharton
d49ddf3414
[maven-release-plugin] prepare for next development iteration
2013-05-06 09:19:55 -07:00
Jake Wharton
66544feab6
[maven-release-plugin] prepare release parent-1.0.1
2013-05-06 09:19:41 -07:00
Jake Wharton
bd2cac58f3
[maven-release-plugin] prepare for next development iteration
2013-05-06 07:01:00 -07:00
Jake Wharton
d95ecff542
[maven-release-plugin] prepare release parent-1.0.0
2013-05-06 07:00:47 -07:00
Jake Wharton
8f988a303b
Auto-version submodules.
2013-05-06 06:59:26 -07:00
jwilson
562522f7c7
Use the latest mockwebserver
2013-05-05 13:19:03 -04:00
Jake Wharton
59b1c1dc52
Pom version updates. Drop unused dependencies.
2013-05-05 00:49:08 -07:00
Jake Wharton
d60c084b99
Add Apache HttpClient implementation which maps to OkHttp.
...
Refs #17 .
2013-03-26 13:27:46 -04:00
Jake Wharton
7ccbf48838
Move library into a module. Introduce sample module with simple GitHub client.
2013-03-25 20:04:51 -07:00
Marcelo Cortes
fcd40ec711
increased version to 1.0
2013-02-01 14:58:28 -05:00
jwilson
3a0874cb22
Introduce MockSpdyServer.
...
This is like MockWebServer, but it speaks SPDY behind the scenes
instead of HTTP. The goal with this change is to make it very easy
to test interactions between SPDY and HTTP features like cookies,
fault tolerance and caching.
2013-01-22 13:38:38 -05:00
jwilson
dca5d83027
Upgrade to JUnit 4.
...
Primary motivation is to gain access to @Ignore, for some
tests that haven't yet been written, or that don't work on
the RI (due to RI bugs).
2012-12-29 11:10:13 -07:00
jwilson
c9d183636d
Bump the version number for backwards-incompatible changes.
2012-12-17 19:30:00 -05:00
jwilson
50999cceb5
Move out of the libcore package.
...
To promote the code into AOSP, we'll keep this package as-is
and do the jarjar in Android instead.
2012-12-15 16:55:10 -05:00
Jesse Wilson
9a1da9b420
New API to break platform-specific dependencies.
...
In particular:
- Don't require OkHttp to depend on Jetty's non-boot package for
Android. This was causing ugly, confidence-smashing dalvik
errors in Android apps.
- Don't prevent HTTP on Java6 just because SPDY isn't available.
This uses gross reflection and dynamic proxies! That's sad, but
it's encapsulated so users won't have to know it exists.
2012-11-13 23:12:12 -05:00
Jake Wharton
51c7b6cad2
Write checkstyle to stdout.
2012-10-16 21:46:26 -07:00
Jesse Wilson
5aa2456a14
Fix TLS requiresTunnel which was being computed incorrectly.
...
We were only returning 'true' once we were already in a tunnel.
This was bogus. In theory a TLS tunnel sending extra data could
be corrupted due to this bug.
Also migrate one of the TLS tunnel tests to use SslContextBuilder
instead of TestSSLContext.
2012-09-20 16:01:17 -04:00
Jesse Wilson
3ff6ca140d
Uncomment more HTTPS tests.
...
Also:
- bump mockwebserver to current.
- create a uniform API for creating connections
2012-08-01 14:41:29 -04:00
Jesse Wilson
33a0c620e1
Use bouncy castle to generate certs for TLS.
...
Because there are no platform APIs to generate certificates,
this needs a third party library (bouncy castle) to do the
heavy lifting.
Each target platform has its own built-in crypto library:
- The JVM has its own internal crypto library. It uses
key stores like "JCA".
- Android has its own internal crypto library that's
based on bouncy castle. It is repackaged in com.android
and is not used by this code.
With this change, okhttp brings its own copy of bouncy castle
for cert generation. Once the certificate is generated we're
done with bouncy castle, and use the platform libraries for TLS.
This approach allows us to use one codebase on either platform.
2012-08-01 12:50:04 -04:00
Jake Wharton
08b1d7f320
General project clean-up and tweaks.
...
* Add checkstyle and correct anything that failed.
* Expand README.md to have more info for the upcoming release.
* Resolve plugin warnings in pom.xml.
2012-07-28 00:08:05 -07:00
Jake Wharton
28518d748c
Merge pull request #8 from square/jwilson/pool
...
Don't use jarjar to strip unused classes.
2012-07-24 18:55:43 -07:00
Jesse Wilson
f984c3940d
Don't use jarjar to strip unused classes.
...
It was stripping required classes that were only needed
moved classes. We don't have any unused classes so this is
a wasted step anyway.
2012-07-24 18:53:34 -07:00
Jake Wharton
0a1d49b221
Remove duplicate plugin definitions.
...
Sources and javadoc artifacts are configured by the parent pom.
2012-07-23 15:39:43 -07:00
Jesse Wilson
ea19431b81
Use Square's regular groupId for okhttp.
2012-07-23 18:14:06 -04:00
Jesse Wilson
53ef23eae2
Don't sign artifacts in the default configuration.
2012-07-23 12:27:30 -04:00
Patrick Forhan
7781c0702e
Merge pull request #3 from square/jwilson/java7
...
Enforce javac version 1.7 or better.
2012-07-23 07:57:26 -07:00
Jesse Wilson
fc01d7e54d
Enforce javac version 1.7 or better.
...
We can't require 1.7 as a target or source language option
as that would break dx.
2012-07-23 10:56:32 -04:00
Jesse Wilson
0ea4c8fc13
Give the in-progress code a SNAPSHOT version number.
2012-07-23 10:16:56 -04:00