Json – How to get all HttpHeaders as a ResponseBody in Spring Boot?
I need to get the all HttpHeaders and then need to back all of these as a key-value pair as a ResponseBody. How can I achieve this? @RestController @RequestMapping("/employee") public class Employee { @GetMapping public ResponseEntity<Object> hello(@RequestHeader HttpHeaders headers) {…