Package org.kohsuke.stapler.interceptor
Class JsonOutputFilter.Processor
- java.lang.Object
-
- org.kohsuke.stapler.interceptor.Interceptor
-
- org.kohsuke.stapler.interceptor.JsonOutputFilter.Processor
-
- Enclosing class:
- JsonOutputFilter
public static class JsonOutputFilter.Processor extends Interceptor
-
-
Field Summary
-
Fields inherited from class org.kohsuke.stapler.interceptor.Interceptor
target
-
-
Constructor Summary
Constructors Constructor Description Processor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments)
Intercepts the call.-
Methods inherited from class org.kohsuke.stapler.interceptor.Interceptor
setTarget
-
-
-
-
Method Detail
-
invoke
public Object invoke(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) throws IllegalAccessException, InvocationTargetException, javax.servlet.ServletException
Description copied from class:Interceptor
Intercepts the call.The minimal no-op interceptor would do
target.invoke(request,response,instance,arguments)
, but the implementation is free to do additional pre/post processing.- Specified by:
invoke
in classInterceptor
- Parameters:
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.- Returns:
- Return value from the method.
- Throws:
InvocationTargetException
- if you want to send e.g. something fromHttpResponses
IllegalAccessException
javax.servlet.ServletException
-
-