Class HttpHeadersBinder
java.lang.Object
io.micronaut.jaxrs.runtime.ext.bind.HttpHeadersBinder
- All Implemented Interfaces:
ArgumentBinder<HttpHeaders,
,HttpRequest<?>> TypeArgumentBinder<HttpHeaders,
,HttpRequest<?>> RequestArgumentBinder<HttpHeaders>
,TypedRequestArgumentBinder<HttpHeaders>
@Singleton
public class HttpHeadersBinder
extends Object
implements TypedRequestArgumentBinder<HttpHeaders>
Handles binding of the JAX-RS
HttpHeaders
type.- 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<HttpHeaders> 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
-
HEADERS_KEY
-
-
Constructor Details
-
HttpHeadersBinder
public HttpHeadersBinder()
-
-
Method Details
-
argumentType
- Specified by:
argumentType
in interfaceTypeArgumentBinder<HttpHeaders,
HttpRequest<?>>
-
bind
public ArgumentBinder.BindingResult<HttpHeaders> bind(ArgumentConversionContext<HttpHeaders> context, HttpRequest<?> source) - Specified by:
bind
in interfaceArgumentBinder<HttpHeaders,
HttpRequest<?>>
-