org.kohsuke.stapler.bind
Class Bound

java.lang.Object
  extended by org.kohsuke.stapler.bind.Bound
All Implemented Interfaces:
HttpResponse

public abstract class Bound
extends java.lang.Object
implements HttpResponse

Handles to the object bound via BoundObjectTable. As HttpResponse, this object generates a redirect to the URL that it points to.

Author:
Kohsuke Kawaguchi
See Also:
MetaClass#buildDispatchers(ClassDescriptor)

Constructor Summary
Bound()
           
 
Method Summary
 java.lang.String getProxyScript()
          Returns a JavaScript expression which evaluates to a JavaScript proxy that talks back to the bound object that this handle represents.
abstract  java.lang.Object getTarget()
          Gets the bound object.
abstract  java.lang.String getURL()
          The URL where the object is bound to.
abstract  void release()
          Explicitly unbind this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kohsuke.stapler.HttpResponse
generateResponse
 

Constructor Detail

Bound

public Bound()
Method Detail

release

public abstract void release()
Explicitly unbind this object. The referenced object won't be bound to URL anymore.


getURL

public abstract java.lang.String getURL()
The URL where the object is bound to. This method starts with '/' and thus always absolute within the current web server.


getTarget

public abstract java.lang.Object getTarget()
Gets the bound object.


getProxyScript

public final java.lang.String getProxyScript()
Returns a JavaScript expression which evaluates to a JavaScript proxy that talks back to the bound object that this handle represents.



Copyright © 2012. All Rights Reserved.