Skip to content

Latest commit

 

History

History

jersey-client-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Bootique 3.x Jersey Server Example

This is an example Bootique HTTP client app written with Jersey.

Build, test and package

Run the following command to build the code, run the tests and package the app:

cd jersey-client-example/
mvn clean package

Run

The following command prints a help message with supported options:

java -jar target/jersey-client-example-3.0.jar 

And now you can run the command with any public URL to retrieve the URL contents. E.g.:

java -jar target/jersey-client-example-3.0.jar --read --url=https://google.com