org.kohsuke.stapler
public interface StaplerProxy
getTarget()
method.
Compared to StaplerFallback
, stapler handles this interface at the very beginning,
whereas StaplerFallback
is handled at the very end.
By returning this
from the getTarget()
method,
StaplerProxy
can be also used just as an interception hook (for example
to perform authorization.)
StaplerFallback
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getTarget()
Returns the object that is responsible for processing web requests.
|
java.lang.Object getTarget()
this
object is returned, no further
StaplerProxy
look-up is done and this
object
processes the request.Copyright © 2014. All Rights Reserved.