Package io.micronaut.spring.web.bind
Class ModelMapRequestArgumentBinder
java.lang.Object
io.micronaut.spring.web.bind.ModelMapRequestArgumentBinder
- All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<org.springframework.ui.ModelMap,
,io.micronaut.http.HttpRequest<?>> io.micronaut.core.bind.TypeArgumentBinder<org.springframework.ui.ModelMap,
,io.micronaut.http.HttpRequest<?>> io.micronaut.http.bind.binders.RequestArgumentBinder<org.springframework.ui.ModelMap>
,io.micronaut.http.bind.binders.TypedRequestArgumentBinder<org.springframework.ui.ModelMap>
public class ModelMapRequestArgumentBinder
extends Object
implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<org.springframework.ui.ModelMap>
Binds the
ModelMap
type.- Since:
- 1.0
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.type.Argument<org.springframework.ui.ModelMap>
io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.ui.ModelMap>
bind
(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.ui.ModelMap> context, io.micronaut.http.HttpRequest<?> source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.http.bind.binders.TypedRequestArgumentBinder
matches, superTypes
-
Field Details
-
ATTRIBUTE
The name of the request attribute to use.- See Also:
-
-
Constructor Details
-
ModelMapRequestArgumentBinder
public ModelMapRequestArgumentBinder()
-
-
Method Details
-
argumentType
public io.micronaut.core.type.Argument<org.springframework.ui.ModelMap> argumentType()- Specified by:
argumentType
in interfaceio.micronaut.core.bind.TypeArgumentBinder<org.springframework.ui.ModelMap,
io.micronaut.http.HttpRequest<?>>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.ui.ModelMap> bind(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.ui.ModelMap> context, io.micronaut.http.HttpRequest<?> source) - Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<org.springframework.ui.ModelMap,
io.micronaut.http.HttpRequest<?>>
-