Class RetryPublisherHttpClient

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected PublisherHttpClient publisherClient  
      protected java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RetryPublisherHttpClient​(PublisherHttpClient publisherClient, feign.MethodMetadata methodMetadata, java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> wrapWithLog​(java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction, java.lang.String feignMethodTag)  
      protected java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> wrapWithOutOfRetries​(java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction, ReactiveHttpRequest request)  
      • Methods inherited from class java.lang.Object

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

      • retryFunction

        protected final java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction
    • Constructor Detail

      • RetryPublisherHttpClient

        protected RetryPublisherHttpClient​(PublisherHttpClient publisherClient,
                                           feign.MethodMetadata methodMetadata,
                                           java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction)
    • Method Detail

      • wrapWithOutOfRetries

        protected java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> wrapWithOutOfRetries​(java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction,
                                                                                                                                                                                             ReactiveHttpRequest request)
      • wrapWithLog

        protected static java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> wrapWithLog​(java.util.function.Function<reactor.core.publisher.Flux<reactor.util.retry.Retry.RetrySignal>,​reactor.core.publisher.Flux<java.lang.Throwable>> retryFunction,
                                                                                                                                                                                           java.lang.String feignMethodTag)