Annotation Interface Controller


@Retention(RUNTIME) @Target(TYPE) public @interface Controller
Indicates that the annotated class is a controller. Controllers typically handle incoming requests, perform necessary processing, and provide a response. This annotation can be used to mark classes as controllers within a framework or application.

Example:


 @Controller
 public class MyController {
     // Controller logic and methods
 }
 
Since:
1.0
Author:
Blyzhnytsia Team