Skip to content
John Fereira edited this page Apr 7, 2022 · 3 revisions

Java11Http

Examples of java 11 native http clients

Contents link

  • src/main source code
  • pom.xml maven build file
  • scripts shell scripts for testing

Setup/Configuration

none

Building

Use maven to compile the code

mvn compile

Running

cd scripts

There are several scripts whch can be invoked test different types of Http Cllients

sh HttpClientAsynchronous.sh
sh HttpClientAuthentication.sh
sh HttpClientCustomExecutor.sh
sh HttpClientExample.sh
sh HttpClientPostForm.sh
sh HttpClientPostJSON.sh
sh HttpClientSynchronous.sh

Dependencies

Clone this wiki locally