Class VersionClientRequestBinder

    • Constructor Summary

      Constructors 
      Constructor Description
      VersionClientRequestBinder​(io.micronaut.context.BeanContext beanContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(io.micronaut.aop.MethodInvocationContext<java.lang.Object,​java.lang.Object> context, ClientRequestUriContext uriContext, io.micronaut.http.MutableHttpRequest<?> request)
      Modify the request with the annotation that this binder is applied to.
      java.lang.Class<io.micronaut.core.version.annotation.Version> getAnnotationType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VersionClientRequestBinder

        public VersionClientRequestBinder​(io.micronaut.context.BeanContext beanContext)
    • Method Detail

      • bind

        public void bind​(@NonNull
                         io.micronaut.aop.MethodInvocationContext<java.lang.Object,​java.lang.Object> context,
                         @NonNull
                         ClientRequestUriContext uriContext,
                         @NonNull
                         io.micronaut.http.MutableHttpRequest<?> request)
        Description copied from interface: AnnotatedClientRequestBinder
        Modify the request with the annotation that this binder is applied to. The URI cannot be changed. The query parameters from the uriContext remain in the resulting request.
        Specified by:
        bind in interface AnnotatedClientRequestBinder<io.micronaut.core.version.annotation.Version>
        Parameters:
        context - The context of method invocation
        uriContext - The URI context
        request - The request
      • getAnnotationType

        @NonNull
        public java.lang.Class<io.micronaut.core.version.annotation.Version> getAnnotationType()
        Specified by:
        getAnnotationType in interface AnnotatedClientRequestBinder<io.micronaut.core.version.annotation.Version>
        Returns:
        The annotation type.