diff options
author | adamw <adam@warski.org> | 2017-07-16 10:32:34 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-16 10:32:34 +0200 |
commit | 93ed3fafeb90b589933ffaeee928b95ca099b35a (patch) | |
tree | 5149477b46df5a14d16f8387b92948c66d846c4b /core/src/main | |
parent | b1844f09d78e035d85302310e2ba55929cd5fc52 (diff) | |
download | sttp-93ed3fafeb90b589933ffaeee928b95ca099b35a.tar.gz sttp-93ed3fafeb90b589933ffaeee928b95ca099b35a.tar.bz2 sttp-93ed3fafeb90b589933ffaeee928b95ca099b35a.zip |
Renaming the default handler
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionSttpHandler.scala (renamed from core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala b/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionSttpHandler.scala index 50f6d76..7fd7220 100644 --- a/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala +++ b/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionSttpHandler.scala @@ -11,7 +11,7 @@ import scala.annotation.tailrec import scala.io.Source import scala.collection.JavaConverters._ -object HttpConnectionSttpHandler extends SttpHandler[Id, Nothing] { +object HttpURLConnectionSttpHandler extends SttpHandler[Id, Nothing] { override def send[T](r: Request, responseAs: ResponseAs[T, Nothing]): Response[T] = { val c = r.uri.toURL.openConnection().asInstanceOf[HttpURLConnection] |