Interface StreamedNettyRequestArgumentBinder<T>
- Type Parameters:
T
- A type
- All Superinterfaces:
ArgumentBinder<T,
,HttpRequest<?>> RequestArgumentBinder<T>
- Since:
- 4.0.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
ArgumentBinder.BindingResult<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ArgumentBinder.BindingResult<T>
bind
(ArgumentConversionContext<T> context, HttpRequest<?> source) Bind the given argument from the given source.bindForStreamedNettyRequest
(ArgumentConversionContext<T> context, StreamedHttpRequest streamedHttpRequest, NettyHttpRequest<?> nettyHttpRequest) Bind the given argument from the given source.
-
Method Details
-
bind
default ArgumentBinder.BindingResult<T> bind(ArgumentConversionContext<T> context, HttpRequest<?> source) Description copied from interface:ArgumentBinder
Bind the given argument from the given source.- Specified by:
bind
in interfaceArgumentBinder<T,
HttpRequest<?>> - Parameters:
context
- TheArgumentConversionContext
source
- The source- Returns:
- An
Optional
of the value. If no binding was possibleOptional.empty()
-
bindForStreamedNettyRequest
ArgumentBinder.BindingResult<T> bindForStreamedNettyRequest(ArgumentConversionContext<T> context, StreamedHttpRequest streamedHttpRequest, NettyHttpRequest<?> nettyHttpRequest) Bind the given argument from the given source.- Parameters:
context
- TheArgumentConversionContext
streamedHttpRequest
- The streamed HTTP requestnettyHttpRequest
- The netty http request- Returns:
- An
Optional
of the value. If no binding was possibleOptional.empty()
-