@Singleton
@Internal
public class RequestArgumentSatisfier
extends java.lang.Object
Route.| Constructor and Description |
|---|
RequestArgumentSatisfier(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry) |
| Modifier and Type | Method and Description |
|---|---|
io.micronaut.web.router.RouteMatch<?> |
fulfillArgumentRequirements(io.micronaut.web.router.RouteMatch<?> route,
io.micronaut.http.HttpRequest<?> request,
boolean satisfyOptionals)
Attempt to satisfy the arguments of the given route with the data from the given request.
|
io.micronaut.http.bind.RequestBinderRegistry |
getBinderRegistry() |
protected java.util.Optional<java.lang.Object> |
getValueForArgument(io.micronaut.core.type.Argument argument,
io.micronaut.http.HttpRequest<?> request,
boolean satisfyOptionals) |
public RequestArgumentSatisfier(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry)
requestBinderRegistry - The Request binder registrypublic io.micronaut.http.bind.RequestBinderRegistry getBinderRegistry()
public io.micronaut.web.router.RouteMatch<?> fulfillArgumentRequirements(io.micronaut.web.router.RouteMatch<?> route,
io.micronaut.http.HttpRequest<?> request,
boolean satisfyOptionals)
route - The routerequest - The requestsatisfyOptionals - Whether to satisfy optionalsprotected java.util.Optional<java.lang.Object> getValueForArgument(io.micronaut.core.type.Argument argument,
io.micronaut.http.HttpRequest<?> request,
boolean satisfyOptionals)
argument - The argumentrequest - The HTTP requestsatisfyOptionals - Whether to satisfy optionalsOptional for the value