public static class LimitedTo.Processor extends Interceptor
target| Constructor and Description |
|---|
LimitedTo.Processor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(StaplerRequest request,
StaplerResponse response,
java.lang.Object instance,
java.lang.Object[] arguments)
Intercepts the call.
|
void |
setTarget(Function target)
Called by Stapler to set up the target of the interceptor.
|
public void setTarget(Function target)
InterceptorsetTarget in class Interceptorpublic java.lang.Object invoke(StaplerRequest request, StaplerResponse response, java.lang.Object instance, java.lang.Object[] arguments) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
Interceptor
The minimal no-op interceptor would do target.invoke(request,response,instance,arguments),
but the implementation is free to do additional pre/post processing.
invoke in class Interceptorrequest - The current request we are processing.response - The current response object.instance - The domain object instance whose method we are about to invoke.arguments - Arguments of the method call.java.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionCopyright © 2013. All Rights Reserved.