Skip to content

Commit

Permalink
change package structure to org.http4s.jdkhttpclient (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
amesgen authored May 21, 2021
1 parent 7d693f2 commit 2602e44
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import java.util.concurrent.Flow

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import java.net.URI
import java.net.http.HttpClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import java.io.IOException
import java.net.URI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import cats._
import cats.data.Chain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client
package org.http4s

import java.util.concurrent.CancellationException
import java.util.concurrent.CompletableFuture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import cats.data._
import cats.effect._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import java.net.URI
import java.net.http.HttpClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import javax.net.ssl.SSLHandshakeException

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// TODO uncomment in the future
/*
package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient
import cats.effect._
import org.http4s.client.ClientRouteTestBattery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.http4s.client.jdkhttpclient
package org.http4s.jdkhttpclient

import java.net.InetSocketAddress
import java.nio.ByteBuffer
Expand Down
6 changes: 3 additions & 3 deletions docs/src/main/mdoc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ any [`Async`][Async] type, such as [`cats.effect.IO`][IO]:
```scala mdoc:silent:reset-class
import cats.effect.{IO, Resource}
import org.http4s.client.Client
import org.http4s.client.jdkhttpclient.JdkHttpClient
import org.http4s.jdkhttpclient.JdkHttpClient

// Here, we import the global runtime.
// It comes for free with `cats.effect.IOApp`:
Expand Down Expand Up @@ -126,7 +126,7 @@ using an `HttpClient` as above. It is encouraged to use the same `HttpClient`
to construct a `Client[F]` and a `WSClient[F]`.

```scala mdoc
import org.http4s.client.jdkhttpclient._
import org.http4s.jdkhttpclient._

val (http, webSocket) =
Resource.eval(IO(HttpClient.newHttpClient()))
Expand Down Expand Up @@ -203,4 +203,4 @@ For an overview of all options and functions visit the [scaladoc].
[IO]: https://typelevel.org/cats-effect/datatypes/io.html
[Resource]: https://typelevel.org/cats-effect/datatypes/resource.html
[Deferred]: https://typelevel.org/cats-effect/api/cats/effect/concurrent/Deferred.html
[scaladoc]: https://static.javadoc.io/org.http4s/http4s-jdk-http-client_@SCALA_VERSION@/@VERSION@/org/http4s/client/jdkhttpclient/index.html
[scaladoc]: https://static.javadoc.io/org.http4s/http4s-jdk-http-client_@SCALA_VERSION@/@VERSION@/org/http4s/jdkhttpclient/index.html

0 comments on commit 2602e44

Please sign in to comment.