Annotation Interface RequestHeader
Annotation used to indicate that a method parameter should be bound to a specific
HTTP request header.
Usage Example:
@RestController
public class MyRestController implements BringServlet {
@PostMapping(path = "/resource")
public void resourceHeaders(@RequestHeader("Authorization") String authToken) {
// Your implementation logic here
}
}
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Default:
""
-