Interface PostponedRequestArgumentBinder<T>

Type Parameters:
T - A type
All Superinterfaces:
io.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>, RequestArgumentBinder<T>
All Known Implementing Classes:
DefaultUnmatchedRequestArgumentBinder, RequestAttributeAnnotationBinder, RequestBeanAnnotationBinder

public interface PostponedRequestArgumentBinder<T> extends RequestArgumentBinder<T>
Marker interface for RequestArgumentBinder to indicate that it should bind after filters are applied.
Since:
4.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder

    io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.micronaut.core.bind.ArgumentBinder.BindingResult<T>
    bindPostponed(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> request)
    Bind postponed the given argument from the given source.

    Methods inherited from interface io.micronaut.core.bind.ArgumentBinder

    bind
  • Method Details

    • bindPostponed

      default io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bindPostponed(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> request)
      Bind postponed the given argument from the given source.
      Parameters:
      context - The ArgumentConversionContext
      request - The request
      Returns:
      An Optional of the value. If no binding was possible Optional.empty()