aboutsummaryrefslogtreecommitdiff
path: root/async-http-client-handler
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-08-29 13:13:41 +0200
committeradamw <adam@warski.org>2017-08-29 13:13:41 +0200
commit09b173e66b2b412e3e00f0e65f414ec1cc71d1a4 (patch)
tree04ac218fb8871a894233146cb1eb6f8c5328061e /async-http-client-handler
parente0fb4123d94e22e0003f12d681ed4539ffcaaebf (diff)
downloadsttp-09b173e66b2b412e3e00f0e65f414ec1cc71d1a4.tar.gz
sttp-09b173e66b2b412e3e00f0e65f414ec1cc71d1a4.tar.bz2
sttp-09b173e66b2b412e3e00f0e65f414ec1cc71d1a4.zip
Removing the model package, flattening the structure
Diffstat (limited to 'async-http-client-handler')
-rw-r--r--async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala14
1 files changed, 12 insertions, 2 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 ea1b720..c8f0144 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
@@ -4,10 +4,20 @@ import java.nio.ByteBuffer
import java.nio.charset.Charset
import com.softwaremill.sttp.ResponseAs.EagerResponseHandler
-import com.softwaremill.sttp.{BasicResponseAs, ContentLengthHeader, IgnoreResponse, MonadAsyncError, MonadError, NoBody, Request, RequestBody, Response, ResponseAs, ResponseAsByteArray, ResponseAsStream, SttpHandler}
+import com.softwaremill.sttp._
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._