public static class RespondSuccess.Processor extends Interceptor
target| Constructor and Description |
|---|
RespondSuccess.Processor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(StaplerRequest request,
StaplerResponse response,
Object instance,
Object[] arguments)
Intercepts the call.
|
setTargetpublic Object invoke(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) throws IllegalAccessException, 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.InvocationTargetException - if you want to send e.g. something from HttpResponsesIllegalAccessExceptionCopyright © 2014. All rights reserved.