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