org.kohsuke.stapler
Interface StaplerProxy


public interface StaplerProxy

If an object delegates all its UI processing to another object, it can implement this interface and return the designated object from the getTarget() method.

Author:
Kohsuke Kawaguchi

Method Summary
 java.lang.Object getTarget()
          Returns the object that is responsible for processing web requests.
 

Method Detail

getTarget

java.lang.Object getTarget()
Returns the object that is responsible for processing web requests.

Returns:
If null is returned, it generates 404. If this object is returned, no further StaplerProxy look-up is done and this object processes the request.


Copyright © 2008. All Rights Reserved.