Support OkHttp as (Async)ClientHttpRequestFactory

This commit introduces support for OkHttp
(http://square.github.io/okhttp/) as a backing implementation for
ClientHttpRequestFactory and AsyncClientHttpRequestFactory.

Issue: SPR-12893
This commit is contained in:
Luciano Leggieri
2013-10-11 18:27:20 -03:00
committed by Rossen Stoyanchev
parent d686f615f6
commit 69fc2a8ab2
11 changed files with 433 additions and 0 deletions

View File

@@ -695,6 +695,7 @@ project("spring-web") {
optional("org.apache.httpcomponents:httpclient:${httpclientVersion}")
optional("org.apache.httpcomponents:httpasyncclient:${httpasyncVersion}")
optional("io.netty:netty-all:${nettyVersion}")
optional("com.squareup.okhttp:okhttp:2.3.0")
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")
optional("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson2Version}")
optional("com.google.code.gson:gson:${gsonVersion}")