Uses of Interface
org.apache.sling.api.SlingHttpServletResponse
Package
Description
-
Uses of SlingHttpServletResponse in org.apache.sling.api.request.builder
Modifier and TypeInterfaceDescriptioninterface
This is an extension of aSlingHttpServletResponse
to get the result from a processing operation. -
Uses of SlingHttpServletResponse in org.apache.sling.api.scripting
Modifier and TypeMethodDescription@Nullable SlingHttpServletResponse
SlingBindings.getResponse()
@NotNull SlingHttpServletResponse
SlingScriptHelper.getResponse()
Returns theSlingHttpServletResponse
representing the output of the request.Modifier and TypeMethodDescriptionvoid
SlingBindings.setResponse
(SlingHttpServletResponse response) -
Uses of SlingHttpServletResponse in org.apache.sling.api.servlets
Modifier and TypeMethodDescriptionprotected void
SlingAllMethodsServlet.doDelete
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP DELETE request.protected void
SlingSafeMethodsServlet.doGeneric
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle a request for an HTTP method, which is not known and handled by this class or its extension.protected void
SlingSafeMethodsServlet.doGet
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP GET request.protected void
SlingSafeMethodsServlet.doHead
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Handles the HEAD method.protected void
SlingSafeMethodsServlet.doOptions
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Handles the OPTIONS method by setting the HTTPAllow
header on the response depending on the methods declared in this class.protected void
SlingAllMethodsServlet.doPost
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP POST request.protected void
SlingAllMethodsServlet.doPut
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP PUT request.protected void
SlingSafeMethodsServlet.doTrace
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Handles the TRACE method by just returning the list of all header values in the response body.void
ErrorHandler.handleError
(int status, String message, SlingHttpServletRequest request, SlingHttpServletResponse response) Called to render a response for a HTTP status code.void
ErrorHandler.handleError
(Throwable throwable, SlingHttpServletRequest request, SlingHttpServletResponse response) Called to render a response for an uncaughtThrowable
.protected void
SlingSafeMethodsServlet.handleMethodNotImplemented
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Helper method which causes an appropriate HTTP response to be sent for an unhandled HTTP request method.protected boolean
SlingAllMethodsServlet.mayService
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Tries to handle the request by calling a Java method implemented for the respective HTTP request method.protected boolean
SlingSafeMethodsServlet.mayService
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Tries to handle the request by calling a Java method implemented for the respective HTTP request method.protected void
SlingSafeMethodsServlet.service
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingSafeMethodsServlet.service(ServletRequest, ServletResponse)
method to handle the HTTP request. -
Uses of SlingHttpServletResponse in org.apache.sling.api.wrappers
Modifier and TypeClassDescriptionclass
TheSlingHttpServletResponseWrapper
class is a default wrapper class around aSlingHttpServletResponse
which may be extended to amend the functionality of the original response object.Modifier and TypeMethodDescriptionSlingHttpServletResponseWrapper.getSlingResponse()
Return the originalSlingHttpServletResponse
object wrapped by this.ModifierConstructorDescriptionSlingHttpServletResponseWrapper
(SlingHttpServletResponse wrappedResponse) Create a wrapper for the supplied wrappedRequest -
Uses of SlingHttpServletResponse in org.apache.sling.engine.impl.adapter
Modifier and TypeClassDescriptionclass
TheSlingServletResponseAdapter
class is aComponentResponseWrapper
which does not delegate to a wrappedComponentResponse
but to a wrappedHttpServletResponse
.ModifierConstructorDescriptionSlingServletResponseAdapter
(SlingHttpServletResponse delegatee, javax.servlet.http.HttpServletResponse response) -
Uses of SlingHttpServletResponse in org.apache.sling.engine.impl.filter
Modifier and TypeMethodDescriptionprotected abstract void
AbstractSlingFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
ErrorFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
RequestSlingFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
SlingComponentFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) -
Uses of SlingHttpServletResponse in org.apache.sling.engine.impl.request
Modifier and TypeMethodDescriptionRequestData.getSlingResponse()
static SlingHttpServletResponse
RequestData.toSlingHttpServletResponse
(javax.servlet.ServletResponse response) static SlingHttpServletResponse
RequestData.unwrap
(javax.servlet.ServletResponse response) Unwraps the ServletRequest to a SlingHttpServletRequest.Modifier and TypeMethodDescriptionstatic void
RequestData.service
(SlingHttpServletRequest request, SlingHttpServletResponse response) Helper method to call the servlet for the current content data.static org.apache.sling.engine.impl.SlingHttpServletResponseImpl
RequestData.unwrap
(SlingHttpServletResponse response) Unwraps a SlingHttpServletResponse to a SlingHttpServletResponseImpl -
Uses of SlingHttpServletResponse in org.apache.sling.jackrabbit.usermanager.impl.post
Modifier and TypeMethodDescriptionprotected void
AbstractPostServlet.doPost
(SlingHttpServletRequest request, SlingHttpServletResponse httpResponse) -
Uses of SlingHttpServletResponse in org.apache.sling.jcr.jackrabbit.accessmanager.post
Modifier and TypeMethodDescriptionprotected void
AbstractAccessGetServlet.doGet
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
AbstractAccessPostServlet.doPost
(SlingHttpServletRequest request, SlingHttpServletResponse httpResponse) -
Uses of SlingHttpServletResponse in org.apache.sling.scripting.core
ModifierConstructorDescriptionScriptHelper
(org.osgi.framework.BundleContext ctx, SlingScript script, SlingHttpServletRequest request, SlingHttpServletResponse response) -
Uses of SlingHttpServletResponse in org.apache.sling.scripting.core.impl.bundled
Modifier and TypeMethodDescriptionorg.apache.sling.scripting.core.impl.bundled.ScriptContextProvider.ExecutableContext
ScriptContextProvider.prepareScriptContext
(SlingHttpServletRequest request, SlingHttpServletResponse response, org.apache.sling.scripting.core.impl.bundled.ExecutableUnit executable) -
Uses of SlingHttpServletResponse in org.apache.sling.scripting.core.impl.helper
-
Uses of SlingHttpServletResponse in org.apache.sling.scripting.jsp.util
Modifier and TypeClassDescriptionclass
TheJspSlingHttpServletResponseWrapper
class may be used by tag library implementors to create aRenderResponse
object which wraps the writer of the response of a given page context.Modifier and TypeMethodDescriptionstatic SlingHttpServletResponse
TagUtil.getResponse
(javax.servlet.jsp.PageContext pageContext) -
Uses of SlingHttpServletResponse in org.apache.sling.scripting.sightly.impl.engine.extension
Modifier and TypeClassDescriptionclass
Wrapper response to redirect the output into a specified print writerModifierConstructorDescriptionPrintWriterResponseWrapper
(PrintWriter writer, SlingHttpServletResponse wrappedResponse) Create a wrapper for the supplied wrappedRequest -
Uses of SlingHttpServletResponse in org.apache.sling.scripting.sightly.impl.utils
Modifier and TypeMethodDescriptionstatic SlingHttpServletResponse
BindingsUtils.getResponse
(Bindings bindings) Retrieves theSlingHttpServletResponse
from aBindings
map. -
Uses of SlingHttpServletResponse in org.apache.sling.scripting.thymeleaf.internal.processor
Modifier and TypeMethodDescriptionprotected String
SlingIncludeAttributeTagProcessor.dispatch
(Resource resource, String path, SlingHttpServletRequest slingHttpServletRequest, SlingHttpServletResponse slingHttpServletResponse, RequestDispatcherOptions requestDispatcherOptions) -
Uses of SlingHttpServletResponse in org.apache.sling.servlets.get.impl.helpers
Modifier and TypeClassDescriptionclass
TheHeadServletResponse
is a Sling response wrapper which ensures that nothing will ever be written by return null writers or output streams.Modifier and TypeMethodDescriptionvoid
HtmlRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
JsonRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
PlainTextRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
Renderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
StreamRenderer.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) void
XMLRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) -
Uses of SlingHttpServletResponse in org.apache.sling.servlets.resolver.internal.defaults
Modifier and TypeMethodDescriptionprotected void
DefaultServlet.doGet
(SlingHttpServletRequest request, SlingHttpServletResponse response)