org.kohsuke.stapler.interceptor
Class RequirePOST.Processor

java.lang.Object
  extended by org.kohsuke.stapler.interceptor.Interceptor
      extended by org.kohsuke.stapler.interceptor.RequirePOST.Processor
Enclosing class:
RequirePOST

public static class RequirePOST.Processor
extends Interceptor


Field Summary
 
Fields inherited from class org.kohsuke.stapler.interceptor.Interceptor
target
 
Constructor Summary
RequirePOST.Processor()
           
 
Method Summary
 java.lang.Object invoke(StaplerRequest request, StaplerResponse response, java.lang.Object instance, java.lang.Object[] arguments)
          Intercepts the call.
 
Methods inherited from class org.kohsuke.stapler.interceptor.Interceptor
setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequirePOST.Processor

public RequirePOST.Processor()
Method Detail

invoke

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
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 class Interceptor
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:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException


Copyright © 2012. All Rights Reserved.