Package io.micronaut.http.server.binding
Class RequestArgumentSatisfier
java.lang.Object
io.micronaut.http.server.binding.RequestArgumentSatisfier
A class containing methods to aid in satisfying arguments of a
Route.- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionRequestArgumentSatisfier(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoidfulfillArgumentRequirementsAfterFilters(io.micronaut.web.router.RouteMatch<?> route, io.micronaut.http.HttpRequest<?> request) Attempt to satisfy the arguments of the given route with the data from the given request.voidfulfillArgumentRequirementsBeforeFilters(io.micronaut.web.router.RouteMatch<?> route, io.micronaut.http.HttpRequest<?> request) Attempt to satisfy the arguments of the given route with the data from the given request.io.micronaut.http.bind.RequestBinderRegistry
-
Constructor Details
-
RequestArgumentSatisfier
public RequestArgumentSatisfier(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry) - Parameters:
requestBinderRegistry- The Request binder registry
-
-
Method Details
-
getBinderRegistry
public io.micronaut.http.bind.RequestBinderRegistry getBinderRegistry()- Returns:
- The request binder registry
-
fulfillArgumentRequirementsBeforeFilters
public void fulfillArgumentRequirementsBeforeFilters(io.micronaut.web.router.RouteMatch<?> route, io.micronaut.http.HttpRequest<?> request) Attempt to satisfy the arguments of the given route with the data from the given request.- Parameters:
route- The routerequest- The request
-
fulfillArgumentRequirementsAfterFilters
public void fulfillArgumentRequirementsAfterFilters(io.micronaut.web.router.RouteMatch<?> route, io.micronaut.http.HttpRequest<?> request) Attempt to satisfy the arguments of the given route with the data from the given request.- Parameters:
route- The routerequest- The request
-