Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004-2010 Oracle Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Kohsuke Kawaguchi /
 
package org.kohsuke.stapler;

An object can fall back to another object for a part of its UI processing, by implementing this interface and designating another object from getStaplerFallback().

Compared to StaplerProxy, stapler handles this interface at the very end, whereas StaplerProxy is handled at the very beginning.

Author(s):
Kohsuke Kawaguchi
See also:
StaplerProxy
public interface StaplerFallback {
    
Returns the object that is further searched for processing web requests.

Returns:
If null or this is returned, stapler behaves as if the object didn't implement this interface (which means the request processing failes with 404.)
New to GrepCode? Check out our FAQ X