Annotation Interface RestController
Indicates that the annotated class is a specialized type of controller designed for RESTful services.
REST controllers typically handle HTTP requests, process them, and generate HTTP responses suitable for REST APIs.
This annotation can be used to mark classes as REST controllers within a framework or application.
Usage Example:
@RestController
public class MyRestController implements BringServlet {
// REST controller logic and methods
}
- Since:
- 1.0
- Author:
- Blyzhnytsia Team