Skip to content

neophy/vertx-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vertx-rest

This repository explains how to build a vertex app. from scratch. Two verticles are defined: The Main-Verticle named "Server" deploys the other ChargeServiceController verticle. DeploymentOptions can be set at the time of deployment of a verticle to have as many instances of that verticle and is used in multi-core machines.

This ChargeServiceController has routes defined to take and handle the http requests. The handler will be moved to another verticle in the upcoming commits and both verticles can then talk to each other using event bus.

This verticle also explains how to make REST api calls which includes GET calls with path params.

WebClient
The ChargeServiceController makes an http call to an external service to fetch data. It then decodes the AsyncResponse to JSON.

About

rest in vertx example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages