@Singleton
public class HttpMethodArgumentBinder
extends java.lang.Object
implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<org.springframework.http.HttpMethod>
HttpMethod
.Constructor and Description |
---|
HttpMethodArgumentBinder() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<org.springframework.http.HttpMethod> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.http.HttpMethod> |
bind(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.http.HttpMethod> context,
io.micronaut.http.HttpRequest<?> source) |
public io.micronaut.core.type.Argument<org.springframework.http.HttpMethod> argumentType()
argumentType
in interface io.micronaut.core.bind.TypeArgumentBinder<org.springframework.http.HttpMethod,io.micronaut.http.HttpRequest<?>>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.http.HttpMethod> bind(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.http.HttpMethod> context, io.micronaut.http.HttpRequest<?> source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<org.springframework.http.HttpMethod,io.micronaut.http.HttpRequest<?>>