@Primary @Singleton @Internal public class NettyRequestArgumentSatisfier extends RequestArgumentSatisfier
Route
.
Contains Netty specific extensions - setting the body required for blocking binders.Constructor and Description |
---|
NettyRequestArgumentSatisfier(RequestBinderRegistry requestBinderRegistry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Optional<java.lang.Object> |
getValueForArgument(Argument argument,
HttpRequest<?> request,
boolean satisfyOptionals) |
fulfillArgumentRequirements, getBinderRegistry
public NettyRequestArgumentSatisfier(RequestBinderRegistry requestBinderRegistry)
requestBinderRegistry
- The request argument binderprotected java.util.Optional<java.lang.Object> getValueForArgument(Argument argument, HttpRequest<?> request, boolean satisfyOptionals)
getValueForArgument
in class RequestArgumentSatisfier
argument
- The argumentrequest
- The HTTP requestsatisfyOptionals
- Whether to satisfy optionalsOptional
for the value