Registry / http-client / akka-http-2-12

akka-http-2-12

JSON →
library10.5.3javamavenunverified

Akka Http: Modern, fast, asynchronous, streaming-first HTTP server and client for Scala and Java.

<dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-http_2.12</artifactId> <version>10.5.3</version> </dependency>
INSTALL
IMPORT
SIG · AKKA-HTTP-2-12
A
akka-http-2-12
http-clientjavav10.5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Http
akka.http.javadsl.Http

Making an HTTP request using Akka HTTP client.

import akka.actor.ActorSystem; import akka.http.javadsl.Http; import akka.http.javadsl.model.HttpRequest; import akka.http.javadsl.model.HttpResponse; import java.util.concurrent.CompletionStage; public class Example { public static void main(String[] args) { ActorSystem system = ActorSystem.create(); CompletionStage<HttpResponse> response = Http.get(system).singleRequest(HttpRequest.create("http://example.com")); System.out.println("Request sent"); } }
Debug
Known issues
breakingAkka HTTP 10.5.x requires Akka 2.8.x and may have breaking changes from earlier versions.
fix
Check migration guide for changes in API and configuration.
affects: >=10.5.0
Upgrade
Version history
10.5.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
24
Resources
akka-http-2-12 — mvn dependency:get akka-http-2-12 · libregistry