Skip to content
/ async Public

Demo project testing asynchronous REST endpoints with DeferredResult, @async and CompletableFuture

Notifications You must be signed in to change notification settings

eezkren/async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commands

/return result after 1s

curl --request GET \
  --url http://localhost:8080/deferredWithService \
  --header 'accept: application/json'

/return timed-out result after 5s

curl --request GET \
  --url http://localhost:8080/deferredWithServiceTimedOut \
  --header 'accept: application/json'

/return error

curl --request GET \
  --url http://localhost:8080/deferredWithServiceException \
  --header 'accept: application/json'

About

Demo project testing asynchronous REST endpoints with DeferredResult, @async and CompletableFuture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages