HttpCore Examples
-
This example demonstrates how to execute a series of synchronous (blocking) HTTP GET requests.
-
Synchronous HTTP POST requests
This example demonstrates how to execute a series of synchronous (blocking) HTTP POST requests that enclose entity content of various types: a string, a byte array, an arbitrary input stream.
-
Synchronous HTTP GET requests with connection pooling
This example demonstrates how to execute a series of synchronous (blocking) HTTP GET requests using a pool of persistent connections.
-
This is an example of an HTTP/1.1 file server based on a synchronous (blocking) I/O model.
-
Synchronous HTTP reverse proxy
This is an example of an HTTP/1.1 reverse proxy based on a synchronous (blocking) I/O model.
-
Asynchronous HTTP GET requests
This example demonstrates how HttpCore NIO can be used to execute multiple HTTP requests asynchronously.
-
This example demonstrates how HttpCore NIO can be used to execute series of pipelined HTTP requests.
-
This example demonstrates the use of HttpCore NIO to build an asynchronous (non-blocking) HTTP server capable of direct channel (zero copy) data transfer.
-
Asynchronous HTTP reverse proxy
This example demonstrates how HttpCore NIO can be used to build an asynchronous, fully streaming reverse HTTP proxy.