|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.stapler.interceptor.Interceptor
org.kohsuke.stapler.LimitedTo.Processor
public static class LimitedTo.Processor
Field Summary |
---|
Fields inherited from class org.kohsuke.stapler.interceptor.Interceptor |
---|
target |
Constructor Summary | |
---|---|
LimitedTo.Processor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LimitedTo.Processor()
Method Detail |
---|
public void setTarget(Function target)
Interceptor
setTarget
in class Interceptor
public 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 Interceptor
request
- 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.IllegalAccessException
java.lang.reflect.InvocationTargetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |