Class CookieRequestArgumentBinder
java.lang.Object
io.micronaut.jaxrs.runtime.ext.bind.CookieRequestArgumentBinder
- All Implemented Interfaces:
AnnotatedArgumentBinder<CookieValue,
,Cookie, HttpRequest<?>> ArgumentBinder<Cookie,
,HttpRequest<?>> TypeArgumentBinder<Cookie,
,HttpRequest<?>> AnnotatedRequestArgumentBinder<CookieValue,
,Cookie> RequestArgumentBinder<Cookie>
,TypedRequestArgumentBinder<Cookie>
@Singleton
@Internal
public class CookieRequestArgumentBinder
extends Object
implements TypedRequestArgumentBinder<Cookie>, AnnotatedRequestArgumentBinder<CookieValue,Cookie>
Argument binder for handling cookies.
- Since:
- 1.0
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
ArgumentBinder.BindingResult<T extends Object>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbind
(ArgumentConversionContext<Cookie> context, 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
-
TYPE
-
-
Constructor Details
-
CookieRequestArgumentBinder
public CookieRequestArgumentBinder()
-
-
Method Details
-
argumentType
- Specified by:
argumentType
in interfaceTypeArgumentBinder<Cookie,
HttpRequest<?>>
-
bind
public ArgumentBinder.BindingResult<Cookie> bind(ArgumentConversionContext<Cookie> context, HttpRequest<?> source) - Specified by:
bind
in interfaceArgumentBinder<Cookie,
HttpRequest<?>>
-
getAnnotationType
- Specified by:
getAnnotationType
in interfaceAnnotatedArgumentBinder<CookieValue,
Cookie, HttpRequest<?>>
-