diff options
Diffstat (limited to 'async-http-client-handler')
-rw-r--r-- | async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala b/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala index 7b74c29..ea1b720 100644 --- a/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala +++ b/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala @@ -3,29 +3,11 @@ package com.softwaremill.sttp.asynchttpclient import java.nio.ByteBuffer import java.nio.charset.Charset -import com.softwaremill.sttp.model.ResponseAs.EagerResponseHandler -import com.softwaremill.sttp.model._ -import com.softwaremill.sttp.{ - ContentLengthHeader, - MonadAsyncError, - MonadError, - Request, - Response, - SttpHandler -} +import com.softwaremill.sttp.ResponseAs.EagerResponseHandler +import com.softwaremill.sttp.{BasicResponseAs, ContentLengthHeader, IgnoreResponse, MonadAsyncError, MonadError, NoBody, Request, RequestBody, Response, ResponseAs, ResponseAsByteArray, ResponseAsStream, SttpHandler} import org.asynchttpclient.AsyncHandler.State import org.asynchttpclient.handler.StreamedAsyncHandler -import org.asynchttpclient.{ - AsyncCompletionHandler, - AsyncHandler, - AsyncHttpClient, - HttpResponseBodyPart, - HttpResponseHeaders, - HttpResponseStatus, - RequestBuilder, - Request => AsyncRequest, - Response => AsyncResponse -} +import org.asynchttpclient.{AsyncCompletionHandler, AsyncHandler, AsyncHttpClient, HttpResponseBodyPart, HttpResponseHeaders, HttpResponseStatus, RequestBuilder, Request => AsyncRequest, Response => AsyncResponse} import org.reactivestreams.{Publisher, Subscriber, Subscription} import scala.collection.JavaConverters._ |