Class InvocationContextImpl
- java.lang.Object
-
- org.jboss.resteasy.microprofile.client.InvocationContextImpl
-
- All Implemented Interfaces:
javax.interceptor.InvocationContext
public class InvocationContextImpl extends Object implements javax.interceptor.InvocationContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvocationContextImpl.InterceptorInvocation
-
Constructor Summary
Constructors Constructor Description InvocationContextImpl(Object target, Method method, Object[] args, List<InvocationContextImpl.InterceptorInvocation> chain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor<?>getConstructor()Map<String,Object>getContextData()MethodgetMethod()Object[]getParameters()ObjectgetTarget()ObjectgetTimer()protected ObjectinterceptorChainCompleted()protected ObjectinvokeNext()Objectproceed()voidsetParameters(Object[] params)
-
-
-
Constructor Detail
-
InvocationContextImpl
public InvocationContextImpl(Object target, Method method, Object[] args, List<InvocationContextImpl.InterceptorInvocation> chain)
- Parameters:
target-method-args-chain-
-
-
Method Detail
-
interceptorChainCompleted
protected Object interceptorChainCompleted() throws Exception
- Throws:
Exception
-
proceed
public Object proceed() throws Exception
- Specified by:
proceedin interfacejavax.interceptor.InvocationContext- Throws:
Exception
-
getTarget
public Object getTarget()
- Specified by:
getTargetin interfacejavax.interceptor.InvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejavax.interceptor.InvocationContext
-
getConstructor
public Constructor<?> getConstructor()
- Specified by:
getConstructorin interfacejavax.interceptor.InvocationContext
-
getParameters
public Object[] getParameters() throws IllegalStateException
- Specified by:
getParametersin interfacejavax.interceptor.InvocationContext- Throws:
IllegalStateException
-
setParameters
public void setParameters(Object[] params) throws IllegalStateException, IllegalArgumentException
- Specified by:
setParametersin interfacejavax.interceptor.InvocationContext- Throws:
IllegalStateExceptionIllegalArgumentException
-
getContextData
public Map<String,Object> getContextData()
- Specified by:
getContextDatain interfacejavax.interceptor.InvocationContext
-
getTimer
public Object getTimer()
- Specified by:
getTimerin interfacejavax.interceptor.InvocationContext
-
-