diff options
author | adamw <adam@warski.org> | 2017-09-07 09:23:14 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-09-07 09:23:14 +0200 |
commit | 04f697f0b2016e9bdfa93eced3a48bb7d6e04a69 (patch) | |
tree | dc57e8c17818305bc595b678d71900f0ddd2a943 /core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionHandler.scala | |
parent | 3c85a4a5acf7197c1822d4b6339168e36cf1b853 (diff) | |
download | sttp-04f697f0b2016e9bdfa93eced3a48bb7d6e04a69.tar.gz sttp-04f697f0b2016e9bdfa93eced3a48bb7d6e04a69.tar.bz2 sttp-04f697f0b2016e9bdfa93eced3a48bb7d6e04a69.zip |
Reformat
Diffstat (limited to 'core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionHandler.scala')
-rw-r--r-- | core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionHandler.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionHandler.scala b/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionHandler.scala index 9b73298..c482e6d 100644 --- a/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionHandler.scala +++ b/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionHandler.scala @@ -258,7 +258,8 @@ class HttpURLConnectionHandler private (connectionTimeout: FiniteDuration) object HttpURLConnectionHandler { - def apply(connectionTimeout: FiniteDuration = SttpHandler.DefaultConnectionTimeout) + def apply( + connectionTimeout: FiniteDuration = SttpHandler.DefaultConnectionTimeout) : SttpHandler[Id, Nothing] = new FollowRedirectsHandler[Id, Nothing]( new HttpURLConnectionHandler(connectionTimeout)) |