Package com.composum.nodes.debugutil
Class JcrTestSetupGenerateServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- com.composum.nodes.debugutil.JcrTestSetupGenerateServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class JcrTestSetupGenerateServlet extends org.apache.sling.api.servlets.SlingSafeMethodsServlet
This servlet serves as code generator to reproduce a part of the JCR tree easily in a unittest using SlingContext. Usage in the browser with e.g. http://localhost:6502/bin/cpm/nodes/debug/jcrtotestsetup.html/{path}- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
JcrTestSetupGenerateServlet.Configuration
-
Constructor Summary
Constructors Constructor Description JcrTestSetupGenerateServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service
-
-
-
-
Method Detail
-
doGet
protected void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doGet
in classorg.apache.sling.api.servlets.SlingSafeMethodsServlet
- Throws:
javax.servlet.ServletException
IOException
-
-