Package io.quarkus.restclient.runtime
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.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.quarkus.arc.ArcInvocationContext
KEY_INTERCEPTOR_BINDINGS -
Constructor Summary
ConstructorsConstructorDescriptionQuarkusInvocationContextImpl(Object target, Method method, Object[] args, List<QuarkusInvocationContextImpl.InterceptorInvocation> chain, Set<Annotation> interceptorBindings) -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TfindIterceptorBinding(Class<T> annotationType) <T extends Annotation>
List<T>findIterceptorBindings(Class<T> annotationType) Constructor<?>Object[]getTimer()(package private) booleanprotected Objectprotected Objectproceed()voidsetParameters(Object[] params)
-
Constructor Details
-
QuarkusInvocationContextImpl
public QuarkusInvocationContextImpl(Object target, Method method, Object[] args, List<QuarkusInvocationContextImpl.InterceptorInvocation> chain, Set<Annotation> interceptorBindings)
-
-
Method Details
-
hasNextInterceptor
boolean hasNextInterceptor() -
invokeNext
- Throws:
Exception
-
interceptorChainCompleted
- Throws:
Exception
-
proceed
- Specified by:
proceedin interfacejakarta.interceptor.InvocationContext- Throws:
Exception
-
getTarget
- Specified by:
getTargetin interfacejakarta.interceptor.InvocationContext
-
getMethod
- Specified by:
getMethodin interfacejakarta.interceptor.InvocationContext
-
getConstructor
- Specified by:
getConstructorin interfacejakarta.interceptor.InvocationContext
-
getParameters
- Specified by:
getParametersin interfacejakarta.interceptor.InvocationContext- Throws:
IllegalStateException
-
setParameters
- Specified by:
setParametersin interfacejakarta.interceptor.InvocationContext- Throws:
IllegalStateExceptionIllegalArgumentException
-
getContextData
- Specified by:
getContextDatain interfacejakarta.interceptor.InvocationContext
-
getTimer
- Specified by:
getTimerin interfacejakarta.interceptor.InvocationContext
-
getInterceptorBindings
- Specified by:
getInterceptorBindingsin interfaceio.quarkus.arc.ArcInvocationContext
-
findIterceptorBinding
- Specified by:
findIterceptorBindingin interfaceio.quarkus.arc.ArcInvocationContext
-
findIterceptorBindings
- Specified by:
findIterceptorBindingsin interfaceio.quarkus.arc.ArcInvocationContext
-