# Package org.apache.sling.api.servlets

@Version("2.5.0") package org.apache.sling.api.servlets

Related Packages
Package
Description
org.apache.sling.api
Class
Description
ErrorHandler
Deprecated.
Use `JakartaErrorHandler` instead.
HtmlResponse
Deprecated.
use org.apache.sling.servlets.post.HtmlResponse instead.
HttpConstants
HTTP-related constants
JakartaErrorHandler
The `JakartaErrorHandler` defines the interface of the service used by the Sling to handle calls to `jakarta.servlet.http.HttpServletResponse.sendError` and to handle uncaught `Throwable`s.
JakartaOptingServlet
The `JakartaOptingServlet` interface may be implemented by `Servlet`s used by Sling which may choose to not handle all requests for which they would be selected based on their registration properties.
OptingServlet
Deprecated.
Use `JakartaOptingServlet` instead
ServletResolver
The `ServletResolver` defines the API for a service capable of resolving `jakarta.servlet.Servlet` instances to handle the processing of a request or resource.
ServletResolverConstants
Service registration properties and common values used for registering a Sling Servlet.
SlingAllMethodsServlet
Deprecated.
Use `SlingJakartaAllMethodsServlet` instead
SlingJakartaAllMethodsServlet
Helper base class for data modifying Servlets used in Sling.
SlingJakartaSafeMethodsServlet
Helper base class for read-only Servlets used in Sling.
SlingSafeMethodsServlet
Deprecated.
Use `SlingJakartaSafeMethodsServlet` instead