Marker annotation for controllers.
@Controller("/customers")
class CustomerController {
...
}
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Deprecated.use InstrumentServerContext annotation insteadSpecify the path mapping request to the controller.
-
Element Details
-
value
String valueSpecify the path mapping request to the controller.- Default:
""
-
instrumentRequestContext
Deprecated.use InstrumentServerContext annotation insteadSpecify if the http request context should be instrumented via RequestContextResolver- Default:
false
-