aboutsummaryrefslogtreecommitdiff
path: root/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2018-02-20 13:59:07 +0100
committeradamw <adam@warski.org>2018-02-20 13:59:07 +0100
commit7aee6a24cd71ab6d791e6d0e62a1c98a53bc464c (patch)
tree1a216987ba8b757bae3e43f5de2a552d157f91b3 /async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala
parent52017e118df6cf22b95f4c10b6abe4162801a1ef (diff)
downloadsttp-7aee6a24cd71ab6d791e6d0e62a1c98a53bc464c.tar.gz
sttp-7aee6a24cd71ab6d791e6d0e62a1c98a53bc464c.tar.bz2
sttp-7aee6a24cd71ab6d791e6d0e62a1c98a53bc464c.zip
De-sugar for 2.11
Diffstat (limited to 'async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala')
-rw-r--r--async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala15
1 files changed, 14 insertions, 1 deletions
diff --git a/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala b/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala
index d804f08..da40a18 100644
--- a/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala
+++ b/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala
@@ -9,7 +9,20 @@ import org.asynchttpclient.AsyncHandler.State
import org.asynchttpclient.handler.StreamedAsyncHandler
import org.asynchttpclient.proxy.ProxyServer
import org.asynchttpclient.request.body.multipart.{ByteArrayPart, FilePart, StringPart}
-import org.asynchttpclient.{AsyncCompletionHandler, AsyncHandler, AsyncHttpClient, DefaultAsyncHttpClient, DefaultAsyncHttpClientConfig, HttpResponseBodyPart, HttpResponseHeaders, HttpResponseStatus, Param, RequestBuilder, Request => AsyncRequest, Response => AsyncResponse}
+import org.asynchttpclient.{
+ AsyncCompletionHandler,
+ AsyncHandler,
+ AsyncHttpClient,
+ DefaultAsyncHttpClient,
+ DefaultAsyncHttpClientConfig,
+ HttpResponseBodyPart,
+ HttpResponseHeaders,
+ HttpResponseStatus,
+ Param,
+ RequestBuilder,
+ Request => AsyncRequest,
+ Response => AsyncResponse
+}
import org.reactivestreams.{Publisher, Subscriber, Subscription}
import scala.collection.JavaConverters._