aboutsummaryrefslogtreecommitdiff
path: root/async-http-client-handler
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-08-29 13:11:29 +0200
committeradamw <adam@warski.org>2017-08-29 13:11:29 +0200
commite0fb4123d94e22e0003f12d681ed4539ffcaaebf (patch)
tree1cded1f913cfbe25fbf8c11da2c15db7e9952234 /async-http-client-handler
parent36adc7902a8ce64c654637df6934e482397eeaed (diff)
downloadsttp-e0fb4123d94e22e0003f12d681ed4539ffcaaebf.tar.gz
sttp-e0fb4123d94e22e0003f12d681ed4539ffcaaebf.tar.bz2
sttp-e0fb4123d94e22e0003f12d681ed4539ffcaaebf.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.scala24
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._