-
Deprecated InterfacesInterfaceDescriptionUse
SlingJakartaRequestListener
instead.Use theResourceProvider
Use theResourceProvider
Use theResourceProvider
Use theResourceProvider
Use theModifiableValueMap
instead.Use theResourceProvider
Use theResourceProvider
Use theResourceProvider
The SlingScriptResolver interface is intended to be implemented and also used by project specific code. To keep the API as clean as possible this interface was deprecatedUseJakartaErrorHandler
instead.UseJakartaOptingServlet
insteadUseSlingJakartaHttpServletRequest
instead.UseSlingJakartaHttpServletResponse
instead.
-
Deprecated ClassesClassDescriptionUse
JakartaMediaRangeList
instead.UseSlingJakartaRequestEvent
instead.use org.apache.sling.servlets.post.HtmlResponse instead.UseSlingJakartaAllMethodsServlet
insteadUseSlingJakartaSafeMethodsServlet
insteadUseValueMapUtil.merge(ValueMap...)
instead. Note that it does not support the parametermerge = false
. However, this could easily be achieved with another decorator that restricts the set of allowed keys.
-
Deprecated FieldsFieldDescriptionThis flag is not supported anymore when implementing the SPI based
org.apache.sling.spi.resource.provider.ResourceProvider
UseSlingBindings.JAKARTA_REQUEST
instead.UseSlingBindings.JAKARTA_RESPONSE
instead.UseRequestDispatcher.INCLUDE_CONTEXT_PATH
insteadUseRequestDispatcher.INCLUDE_PATH_INFO
insteadUseRequestDispatcher.INCLUDE_QUERY_STRING
insteadUseRequestDispatcher.INCLUDE_REQUEST_URI
insteadUseRequestDispatcher.INCLUDE_SERVLET_PATH
insteadUseSlingConstants.ATTR_REQUEST_JAKARTA_SERVLET
insteadUseRequestDispatcher.ERROR_EXCEPTION
insteadUseRequestDispatcher.ERROR_EXCEPTION_TYPE
insteadUseRequestDispatcher.ERROR_MESSAGE
insteadUseRequestDispatcher.ERROR_REQUEST_URI
insteadUseRequestDispatcher.ERROR_SERVLET_NAME
insteadUseRequestDispatcher.ERROR_STATUS_CODE
insteadUse a service listener listening for service removed events fororg.apache.sling.adapter.Adaption
.Use a service listener listening for service removed events fororg.apache.sling.adapter.Adaption
.Use a service listener listening for service removed events fororg.apache.sling.adapter.Adaption
.Use a service listener listening for service removed events fororg.apache.sling.adapter.Adaption
.Register aResourceChangeListener
insteadRegister aResourceChangeListener
insteadRegister aResourceChangeListener
insteadUseRequestDispatcher.INCLUDE_CONTEXT_PATH
UseRequestDispatcher.INCLUDE_PATH_INFO
UseRequestDispatcher.INCLUDE_QUERY_STRING
UseRequestDispatcher.INCLUDE_REQUEST_URI
UseRequestDispatcher.INCLUDE_SERVLET_PATH
-
Deprecated MethodsMethodDescriptionAs there is no guarantee that this information is contained in the change event, this should not be used anymore.As there is no guarantee that this information is contained in the change event, this should not be used anymore.As there is no guarantee that this information is contained in the change event, this should not be used anymore.since 2.3.0 (and JCR Resource 2.1.0), this method will not be invoked.since 2.2.0 (and JCR Resource 2.1.0), this method will not be invoked.as of 2.4 (bundle version 2.5.0) because of inherent security issues. Implementations may implement this method at their discretion but must support the new service based resource provider generation in the
ResourceProviderFactory.getResourceProvider(Map)
method honoring theResourceProviderFactory.SERVICE_BUNDLE
andResourceResolverFactory.SUBSERVICE
properties.UseResourceResolver.map(HttpServletRequest, String)
instead.as of 2.0.4, useResourceResolver.resolve(HttpServletRequest, String)
instead.UseResourceResolver.resolve(HttpServletRequest, String)
instead.as of 2.4 (bundle version 2.5.0) because of inherent security issues. Services requiring specific permissions should use theResourceResolverFactory.getServiceResourceResolver(Map)
instead.since 2.1.0, useResource.getName()
insteadsince 2.1.0, useResource.getParent()
insteadsince 2.1.0, useResource.listChildren()
insteadUseSlingBindings.getJakartaRequest()
instead.UseSlingBindings.getJakartaResponse()
instead.This method is deprecated since version 2.1 and will be removed. It should never be called by clients.UseSlingScriptHelper.getJakartaRequest()
instead.UseSlingScriptHelper.getJakartaResponse()
instead.UseServletResolver.resolve(Resource, String)
instead.UseServletResolver.resolve(ResourceResolver, String)
instead.
-
Deprecated ConstructorsConstructorDescriptionThe sets of property names are not supported anymore.
SlingJakartaHttpServletResponseResult
instead