Skip to content

Instantly share code, notes, and snippets.

@radutoev
Created March 14, 2018 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radutoev/b1426858cd1f22b5961ac0e8e7a1eaf7 to your computer and use it in GitHub Desktop.
Save radutoev/b1426858cd1f22b5961ac0e8e7a1eaf7 to your computer and use it in GitHub Desktop.
@GetMapping
public CompletableFuture<ResponseEntity> get() {
return supplyAsync(() -> ResponseEntity.ok().build())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment