Home | History | Annotate | only in /external/okhttp
Up to higher level directory
NameDateSize
.buildscript/21-Aug-2018
.gitmodules21-Aug-2018180
.travis.yml21-Aug-2018616
android/21-Aug-2018
Android.bp21-Aug-20182.6K
benchmarks/21-Aug-2018
BUG-BOUNTY.md21-Aug-2018364
CHANGELOG.md21-Aug-201832.9K
checkstyle.xml21-Aug-20184.7K
CONTRIBUTING.md21-Aug-2018732
deploy_website.sh21-Aug-2018684
jarjar-rules.txt21-Aug-201876
LICENSE.txt21-Aug-201811.1K
mockwebserver/21-Aug-2018
MODULE_LICENSE_APACHE221-Aug-20180
okcurl/21-Aug-2018
okhttp/21-Aug-2018
okhttp-android-support/21-Aug-2018
okhttp-apache/21-Aug-2018
okhttp-hpacktests/21-Aug-2018
okhttp-logging-interceptor/21-Aug-2018
okhttp-testing-support/21-Aug-2018
okhttp-tests/21-Aug-2018
okhttp-urlconnection/21-Aug-2018
okhttp-ws/21-Aug-2018
okhttp-ws-tests/21-Aug-2018
okio/21-Aug-2018
OWNERS21-Aug-201877
pom.xml21-Aug-20189.2K
README.android21-Aug-20181.1K
README.md21-Aug-20181.9K
samples/21-Aug-2018
website/21-Aug-2018

README.android

      1 URL: https://github.com/square/okhttp
      2 License: Apache 2
      3 Description: "OkHttp: An HTTP+SPDY client for Android and Java applications."
      4 
      5 Local patches
      6 -------------
      7 
      8 Addition of classes in android/ :
      9   - com.squareup.okhttp.internal.Platform - to replace the Platform class that
     10     comes with okhttp. Avoids use of reflection where possible.
     11   - com.squareup.okhttp.Http(s)Handler - integration with Android's corelibs.
     12   - com.squareup.okhttp.ConfigAwareConnectionPool - support for a
     13     ConnectionPool that listens for network configuration changes.
     14   - com.squareup.okhttp.internal.Version - a hand-crafted version of
     15     okhttp/src/main/java-templates/com/squareup/okhttp/internal/Version.java
     16     for Android.
     17 
     18 All source changes (besides imports) marked with ANDROID-BEGIN and ANDROID-END:
     19   - Commenting of code that references APIs not present on Android.
     20   - @Ignore or comment out tests for functionality not supported on Android.
     21   - Work around JUnit 4.11 not being available on Android by adding a
     22     assertNotEquals() method to affect tests.
     23 
     24 okio/ contains a snapshot of the Okio project. See okio/README.android for
     25 details.
     26 

README.md

      1 OkHttp
      2 ======
      3 
      4 An HTTP & SPDY client for Android and Java applications. For more information see [the website][1] and [the wiki][2].
      5 
      6 Download
      7 --------
      8 
      9 Download [the latest JAR][3] or grab via Maven:
     10 ```xml
     11 <dependency>
     12   <groupId>com.squareup.okhttp</groupId>
     13   <artifactId>okhttp</artifactId>
     14   <version>2.6.0</version>
     15 </dependency>
     16 ```
     17 or Gradle:
     18 ```groovy
     19 compile 'com.squareup.okhttp:okhttp:2.6.0'
     20 ```
     21 
     22 Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
     23 
     24 
     25 MockWebServer
     26 -------------
     27 
     28 A library for testing HTTP, HTTPS, HTTP/2.0, and SPDY clients.
     29 
     30 MockWebServer coupling with OkHttp is essential for proper testing of SPDY and HTTP/2.0 so that code can be shared.
     31 
     32 ### Download
     33 
     34 Download [the latest JAR][4] or grab via Maven:
     35 ```xml
     36 <dependency>
     37   <groupId>com.squareup.okhttp</groupId>
     38   <artifactId>mockwebserver</artifactId>
     39   <version>2.6.0</version>
     40   <scope>test</scope>
     41 </dependency>
     42 ```
     43 or Gradle:
     44 ```groovy
     45 testCompile 'com.squareup.okhttp:mockwebserver:2.6.0'
     46 ```
     47 
     48 
     49 
     50 License
     51 -------
     52 
     53     Licensed under the Apache License, Version 2.0 (the "License");
     54     you may not use this file except in compliance with the License.
     55     You may obtain a copy of the License at
     56 
     57        http://www.apache.org/licenses/LICENSE-2.0
     58 
     59     Unless required by applicable law or agreed to in writing, software
     60     distributed under the License is distributed on an "AS IS" BASIS,
     61     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     62     See the License for the specific language governing permissions and
     63     limitations under the License.
     64 
     65 
     66  [1]: http://square.github.io/okhttp
     67  [2]: https://github.com/square/okhttp/wiki
     68  [3]: https://search.maven.org/remote_content?g=com.squareup.okhttp&a=okhttp&v=LATEST
     69  [4]: https://search.maven.org/remote_content?g=com.squareup.okhttp&a=mockwebserver&v=LATEST
     70  [snap]: https://oss.sonatype.org/content/repositories/snapshots/
     71