Uses of Interface
org.kohsuke.stapler.StaplerResponse
Package
Description
Stapler
URL
→ Object
mapping framework.Subsystem for exposing arbitrary objects on per-session basis to the URL space.
Mechanism for writing out a graph of model objects in a machine readable format.
-
Uses of StaplerResponse in org.kohsuke.stapler
Modifier and TypeClassDescriptionclass
StaplerResponse
implementation.class
A basic wrapper for a StaplerResponse, e.g.Modifier and TypeMethodDescriptionstatic StaplerResponse
Stapler.getCurrentResponse()
Gets the currentStaplerResponse
that the calling thread is associated with.StaplerResponseWrapper.getWrapped()
Returns the wrapped instanceModifier and TypeMethodDescriptionvoid
DispatchValidator.allowDispatch
(StaplerRequest req, StaplerResponse rsp) Allows the given request to be dispatched.static void
Dispatcher.anonymizedTraceEval
(StaplerRequest req, StaplerResponse rsp, Object node, String format, String... args) boolean
RequestImpl.checkIfModified
(long lastModified, StaplerResponse rsp) boolean
RequestImpl.checkIfModified
(long lastModified, StaplerResponse rsp, long expiration) boolean
RequestImpl.checkIfModified
(Calendar timestampOfResource, StaplerResponse rsp) boolean
RequestImpl.checkIfModified
(Date timestampOfResource, StaplerResponse rsp) boolean
StaplerRequest.checkIfModified
(long timestampOfResource, StaplerResponse rsp) Checks "If-Modified-Since" header and returns false if the resource needs to be served.boolean
StaplerRequest.checkIfModified
(long timestampOfResource, StaplerResponse rsp, long expiration) boolean
StaplerRequest.checkIfModified
(Calendar timestampOfResource, StaplerResponse rsp) boolean
StaplerRequest.checkIfModified
(Date timestampOfResource, StaplerResponse rsp) void
HttpDeletable.delete
(StaplerRequest req, StaplerResponse rsp) Called when HTTP DELETE method is invoked.void
ScriptExecutor.execute
(StaplerRequest req, StaplerResponse rsp, S script, Object it) Executes the given script on the given node and request, rendering output to the given response.void
ForwardToView.generateResponse
(StaplerRequest req, StaplerResponse rsp, Object node) void
HttpRedirect.generateResponse
(StaplerRequest req, StaplerResponse rsp, Object node) void
HttpResponse.generateResponse
(StaplerRequest req, StaplerResponse rsp, Object node) boolean
HttpResponseRenderer.Default.generateResponse
(StaplerRequest req, StaplerResponse rsp, Object node, Object response) abstract boolean
HttpResponseRenderer.generateResponse
(StaplerRequest req, StaplerResponse rsp, Object node, Object response) protected boolean
HttpResponseRenderer.Default.handleHttpResponse
(StaplerRequest req, StaplerResponse rsp, Object node, Object response) protected boolean
HttpResponseRenderer.Default.handleJavaScriptProxyMethodCall
(StaplerRequest req, StaplerResponse rsp, Object response) protected boolean
HttpResponseRenderer.Default.handleJSON
(StaplerResponse rsp, Object response) protected boolean
HttpResponseRenderer.Default.handlePrimitive
(StaplerResponse rsp, Object response) ForwardingFunction.invoke
(StaplerRequest req, StaplerResponse rsp, Object o, Object... args) abstract Object
Function.invoke
(StaplerRequest req, StaplerResponse rsp, Object o, Object... args) Invokes the method.LimitedTo.Processor.invoke
(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) DispatchValidator.isDispatchAllowed
(StaplerRequest req, StaplerResponse rsp) Checks if the given request and response should be allowed to dispatch.default Boolean
DispatchValidator.isDispatchAllowed
(StaplerRequest req, StaplerResponse rsp, String viewName, Object node) Checks if the given request and response should be allowed to dispatch a view on an optionally present node object.default void
DispatchValidator.requireDispatchAllowed
(StaplerRequest req, StaplerResponse rsp) Throws aCancelRequestHandlingException
if the given request is not allowed.static void
Dispatcher.trace
(StaplerRequest req, StaplerResponse rsp, String msg) static void
Dispatcher.trace
(StaplerRequest req, StaplerResponse rsp, String msg, Object... args) void
EvaluationTrace.trace
(StaplerResponse rsp, String msg) static void
Dispatcher.traceEval
(StaplerRequest req, StaplerResponse rsp, Object node) static void
Dispatcher.traceEval
(StaplerRequest req, StaplerResponse rsp, Object node, String expression) static void
Dispatcher.traceEval
(StaplerRequest req, StaplerResponse rsp, Object node, String prefix, String suffix) -
Uses of StaplerResponse in org.kohsuke.stapler.bind
Modifier and TypeMethodDescriptionvoid
BoundObjectTable.doScript
(StaplerRequest req, StaplerResponse rsp, String var, String methods) This serves the script content for a bound object. -
Uses of StaplerResponse in org.kohsuke.stapler.event
Modifier and TypeMethodDescriptionboolean
FilteredDispatchTriggerListener.onDispatchTrigger
(StaplerRequest req, StaplerResponse rsp, Object node, String viewName) boolean
FilteredDoActionTriggerListener.onDoActionTrigger
(Function f, StaplerRequest req, StaplerResponse rsp, Object node) boolean
FilteredFieldTriggerListener.onFieldTrigger
(FieldRef f, StaplerRequest req, StaplerResponse rsp, Object node, String expression) boolean
FilteredGetterTriggerListener.onGetterTrigger
(Function f, StaplerRequest req, StaplerResponse rsp, Object node, String expression) -
Uses of StaplerResponse in org.kohsuke.stapler.export
-
Uses of StaplerResponse in org.kohsuke.stapler.framework.io
Modifier and TypeMethodDescriptionprotected Writer
LargeText.createWriter
(StaplerRequest req, StaplerResponse rsp, long size) void
LargeText.doProgressText
(StaplerRequest req, StaplerResponse rsp) Implements the progressive text handling.protected void
LargeText.setContentType
(StaplerResponse rsp) -
Uses of StaplerResponse in org.kohsuke.stapler.interceptor
Modifier and TypeMethodDescriptionabstract Object
Interceptor.invoke
(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) Intercepts the call.JsonOutputFilter.Processor.invoke
(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) RequirePOST.Processor.invoke
(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) RespondSuccess.Processor.invoke
(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) -
Uses of StaplerResponse in org.kohsuke.stapler.json
Modifier and TypeMethodDescriptionvoid
JsonHttpResponse.generateResponse
(StaplerRequest req, StaplerResponse rsp, Object node) JsonResponse.Handler.invoke
(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments) -
Uses of StaplerResponse in org.kohsuke.stapler.verb
Modifier and TypeMethodDescriptionHttpVerbInterceptor.invoke
(StaplerRequest request, StaplerResponse response, Object instance, Object[] arguments)