Schnittstelle ControllerMethodReference<ControllerT>
- Typparameter:
ControllerT- the type of the controller that contains the method being referenced
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
Functional interface for method references to a controller method in the context of URI generation. This interface
enables type-safe referencing of specific methods within a controller when constructing links with
SpringControllerLinkBuilder.
It facilitates the SpringControllerLinkBuilder.linkTo(Class, ControllerMethodReference) method in accepting
controller method references, which allows dynamic construction of URIs based on the actual method signatures and
runtime values of their parameters.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.reactivestreams.Publisher<?> invoke(ControllerT controller) Method to invoke
-
Methodendetails
-
invoke
Method to invoke- Parameter:
controller- Controller class of which the method should be invoked- Gibt zurück:
- the publisher is unused and can be safely ignored
- Siehe auch:
-