Package org.apache.sling.launchpad.testservices.servlets
package org.apache.sling.launchpad.testservices.servlets
-
ClassesClassDescriptionServlet which disables and enables anonymous access and ensures that the authenticator service has accepted the configuration change.Sample implementation of the PostResponseCreator interface.The
DomServlet
evaluates a simple XML document using DOM APIs.Test servlet for SLING-2808Example/test Sling Servlet registered with two extensionsGET returns the contents of an OSGi config by PIDDefault servlet for the html extension, see SLING-1069.Servlet used to test HtmlResponse escapingSerlializes a basic class using the Jakarta JSON APITheJaxbServlet
serializes a basic JAXB-annotated classValidates that thesun.misc.Unsafe
class can be accessedTest Servlet which outputs the current namespace mappings.Servlet that registers itself for specific pathsServlet which can create and delete a node at /testing/PathsServlet/foo in order to test case where a servlet is registered at a path for which a node exists.Test HTML rendering of resources provided by our PlanetResourceProviderExample/test Sling Servlet using a prefix to demonstrate how PrefixServletZero overrides PrefixServletMinusOneExample/test Sling Servlet using a prefix to demonstrate how PrefixServletZero overrides PrefixServletMinusOneExample/test Sling Servlet registered for the PUT method on a specific resource typeExample Sling servlets registered using the R6 HTTP WhiteboardTest servlet that dumps our repository descriptorsOptingServlet that uses the RequestURI to opt inTheSaxServlet
evaluates a simple XML document using a SAX handlerExample/test Sling Servlet registered with two selectorsTheXpathServlet
evaluates a simple XML document using an XPath expression