Class QuarkusInvocationContextImpl

java.lang.Object
io.quarkus.restclient.runtime.QuarkusInvocationContextImpl
All Implemented Interfaces:
io.quarkus.arc.ArcInvocationContext, jakarta.interceptor.InvocationContext

public class QuarkusInvocationContextImpl extends Object implements io.quarkus.arc.ArcInvocationContext
A Quarkus copy of InvocationContextImpl which makes it implement ArcInvocationContext instead so that it's compatible with Quarkus interceptors.
  • Constructor Details

  • Method Details

    • hasNextInterceptor

      boolean hasNextInterceptor()
    • invokeNext

      protected Object invokeNext() throws Exception
      Throws:
      Exception
    • interceptorChainCompleted

      protected Object interceptorChainCompleted() throws Exception
      Throws:
      Exception
    • proceed

      public Object proceed() throws Exception
      Specified by:
      proceed in interface jakarta.interceptor.InvocationContext
      Throws:
      Exception
    • getTarget

      public Object getTarget()
      Specified by:
      getTarget in interface jakarta.interceptor.InvocationContext
    • getMethod

      public Method getMethod()
      Specified by:
      getMethod in interface jakarta.interceptor.InvocationContext
    • getConstructor

      public Constructor<?> getConstructor()
      Specified by:
      getConstructor in interface jakarta.interceptor.InvocationContext
    • getParameters

      public Object[] getParameters() throws IllegalStateException
      Specified by:
      getParameters in interface jakarta.interceptor.InvocationContext
      Throws:
      IllegalStateException
    • setParameters

      public void setParameters(Object[] params) throws IllegalStateException, IllegalArgumentException
      Specified by:
      setParameters in interface jakarta.interceptor.InvocationContext
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getContextData

      public Map<String,Object> getContextData()
      Specified by:
      getContextData in interface jakarta.interceptor.InvocationContext
    • getTimer

      public Object getTimer()
      Specified by:
      getTimer in interface jakarta.interceptor.InvocationContext
    • getInterceptorBindings

      public Set<Annotation> getInterceptorBindings()
      Specified by:
      getInterceptorBindings in interface io.quarkus.arc.ArcInvocationContext
      Specified by:
      getInterceptorBindings in interface jakarta.interceptor.InvocationContext
    • findIterceptorBinding

      public <T extends Annotation> T findIterceptorBinding(Class<T> annotationType)
      Specified by:
      findIterceptorBinding in interface io.quarkus.arc.ArcInvocationContext
    • findIterceptorBindings

      public <T extends Annotation> List<T> findIterceptorBindings(Class<T> annotationType)
      Specified by:
      findIterceptorBindings in interface io.quarkus.arc.ArcInvocationContext