Class DefaultRecoveryFunction<O>

java.lang.Object
io.github.resilience4j.ratpack.recovery.DefaultRecoveryFunction<O>
All Implemented Interfaces:
RecoveryFunction<O>, ratpack.func.Function<java.lang.Throwable,​O>

public class DefaultRecoveryFunction<O>
extends java.lang.Object
implements RecoveryFunction<O>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface ratpack.func.Function

    ratpack.func.Function.ConditionalSpec<I extends java.lang.Object,​O extends java.lang.Object>
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultRecoveryFunction()  
  • Method Summary

    Modifier and Type Method Description
    O apply​(java.lang.Throwable t)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ratpack.func.Function

    andThen, compose, toFunction, toGuavaFunction

    Methods inherited from interface io.github.resilience4j.ratpack.recovery.RecoveryFunction

    onErrorResume, onErrorResume
  • Constructor Details

  • Method Details

    • apply

      @Nullable public O apply​(@Nullable java.lang.Throwable t) throws java.lang.Exception
      Specified by:
      apply in interface ratpack.func.Function<java.lang.Throwable,​O>
      Throws:
      java.lang.Exception