Package org.kohsuke.stapler

Stapler URL->Object mapping framework.

See:
          Description

Interface Summary
Ancestor Information about ancestor of the "it" node.
HttpDeletable Marks the object that can handle HTTP DELETE.
HttpResponse Object that represents the HTTP response, which is defined as a capability to produce the response.
StaplerFallback An object can fall back to another object for a part of its UI processing, by implementing this interface and designating another object from StaplerFallback.getStaplerFallback().
StaplerOverridable A web-bound object can implement this interface to allow designated objects to selectively override URL mappings.
StaplerProxy If an object delegates all its UI processing to another object, it can implement this interface and return the designated object from the StaplerProxy.getTarget() method.
StaplerRequest Defines additional parameters/operations made available by Stapler.
StaplerResponse Defines additional operations made available by Stapler.
 

Class Summary
AbstractTearOff<CLT,S,E extends Exception> Partial default implementation of tear-off class, for convenience of derived classes.
BindInterceptor Intercepts (and receives callbacks) about the JSON->object binding process.
CachingScriptLoader<S,E extends Exception> Convenient base class for caching loaded scripts.
CaptureParameterNameTransformation Groovy AST transformation that capture necessary parameter names.
ClassDescriptor Reflection information of a Class.
CrumbIssuer Generates a nonce value that allows us to protect against cross-site request forgery (CSRF) attacks.
Dispatcher Controls the dispatching of incoming HTTP requests.
EvaluationTrace Remebers the Stapler.invoke(RequestImpl, ResponseImpl, Object) evaluation traces.
Facet Aspect of stapler that brings in an optional language binding.
Function Abstracts the difference between normal instance methods and static duck-typed methods.
HttpResponseRenderer Pluggable interface that takes the return value from request handling methods and convert that to HTTP responses.
HttpResponseRenderer.Default Default HttpResponseRenderer.
HttpResponses Factory for HttpResponse.
LimitedTo.Processor  
MetaClass Created one instance each for a Klass, that retains some useful cache about a class and its views.
MetaClassLoader The stapler version of the ClassLoader object, that retains some useful cache about a class loader.
ReflectionUtils  
RequestImpl StaplerRequest implementation.
ResponseImpl StaplerResponse implementation.
Stapler Maps an HTTP request to a method call / JSP invocation against a model object by evaluating the request URL in a EL-ish way.
TearOffSupport Allows "tear-off" objects to be linked to the parent object.
TokenList Tokenized strings.
WebApp Object scoped to the entire webapp.
 

Exception Summary
ForwardToView HttpResponse that forwards to a RequestDispatcher, such as a view.
HttpRedirect HttpResponse that dose HTTP 302 redirect.
HttpResponses.HttpResponseException  
NoStaplerConstructorException  
ScriptLoadException Indicates a failure to load a script.
 

Annotation Types Summary
AncestorInPath Indicates that this parameter is injected by evaluating StaplerRequest.findAncestorObject(Class) with the parameter type.
CapturedParameterNames This "hidden" annotation is injected by Groovy compiler to capture parameter names in the class file.
DataBoundConstructor Designates the constructor to be created from methods like StaplerRequest.bindJSON(Class, JSONObject) and StaplerRequest.bindParameters(Class, String).
Header Indicates that this parameter is bound from HTTP header.
LimitedTo Declares that methods are only available for requests that have the specified role(s).
QueryParameter Indicates that this parameter is injected from HTTP query parameter.
WebMethod Indicates that the method is bound to HTTP and used to serve the HTTP request.
 

Package org.kohsuke.stapler Description

Stapler URL->Object mapping framework. The main entry points are Stapler, StaplerRequest, and StaplerResponse.



Copyright © 2012. All Rights Reserved.