Interface RequestHandler
- All Superinterfaces:
Handler
- All Known Implementing Classes:
DefaultRoute
The RequestHandler interface serves as a marker interface for classes that are intended to handle incoming HTTP requests.
Implementing this interface indicates that a class has the capability to handle HTTP requests, but it doesn't define any
specific methods or behavior for handling the requests.
Marker interfaces, like RequestHandler, are used to categorize or tag classes that share a common characteristic or role. Classes that implement RequestHandler can be identified as request handlers without enforcing any specific contract or implementation.
Developers can implement this interface in classes that are designed to handle incoming requests and use it to easily identify request handling components within a system or framework.
- Since:
- 1.0.0-SNAPSHOT