Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change package structure to org.http4s.jdkhttpclient #442

Merged
merged 1 commit into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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