HttpCore Examples

This example demonstrates synchronous execution of multiple HTTP/1.1 GET requests.

This example demonstrates synchronous execution of multiple HTTP/1.1 POST requests with enclosed content of various types.

This example demonstrates asynchronous execution of multiple HTTP/1.1 requests.

This example demonstrates asynchronous execution of multiple HTTP/2 requests.

This example demonstrates how to execute HTTP/2 requests over TLS connections with ALPN support. It also explains how to avoid the illegal reflective access operation warning when running Java 9 or older.

This example demonstrates how to execute HTTP/2 requests over TLS connections with ALPN support on Java 1.7 and Java 1.8.

This example demonstrates asynchronous, pipelined execution multiple HTTP/1.1 requests.

This example demonstrates asynchronous, multistream execution of multiple HTTP/2 requests.

This is an example of an embedded HTTP/1.1 file server with a classic (blocking) message transport.

This is an example of using synchronous request filters with an embedded HTTP/1.1 server.

This is an example of an embedded HTTP/1.1 file server with an event driven, non-blocking message transport.

This is an example of using asynchronous request filters with an embedded HTTP/1.1 server.

This is an example of an embedded HTTP/2 file server with an event driven, non-blocking message transport.

This is an example of an embedded HTTP/1.1 reverse proxy with a classic (blocking) message transport.

This is an example of an embedded HTTP/1.1 reverse proxy with an event driven, non-blocking message transport.

This is an example of full-duplex HTTP/1.1 client side message exchanges using reactive streaming.

This is an example of full-duplex HTTP/1.1 server side message exchanges using reactive streaming.