Class UriConversionEntityInterceptorContext.Invoker

All Implemented Interfaces:
Enclosing class:

public static class UriConversionEntityInterceptorContext.Invoker extends AbstractInvoker<Void>
  • Constructor Details

    • Invoker

      public Invoker(boolean disabled)
  • Method Details

    • preInvoke

      protected Void preInvoke()
      Description copied from class: AbstractInvoker
      Called before the given invokable is invoked.
      Specified by:
      preInvoke in class AbstractInvoker<Void>
      An optional state which will be passed to postInvoke().
    • postInvoke

      protected void postInvoke(Void state, Object result, Throwable thrown)
      Description copied from class: AbstractInvoker
      Called after the given invokable has been invoked. This will be called in a finally block regardless of whether the invokable throw an exception or not. If the invokable threw an exception and this method throws again, the exception thrown will be added as suppressed exception to the exception originally thrown by the invokable.
      Specified by:
      postInvoke in class AbstractInvoker<Void>
      state - The state as returned previously by AbstractInvoker.preInvoke().
      result - The return value of the invokable or `null`.
      thrown - The exception thrown by the invokable or `null`.
      See Also: