Package com.composum.nodes.debugutil
Class RenderWithResourceTypeServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- com.composum.nodes.debugutil.RenderWithResourceTypeServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@Deprecated public class RenderWithResourceTypeServlet extends org.apache.sling.api.servlets.SlingSafeMethodsServlet
Deprecated.doesn't work right yetRenders a resource with a given resource type. The servlet is activated by selector "debugReplaceResourceType" and renders the resource with a resourcetype given as parameter "forceResourceType". E.g. http://localhost:9090/var/composum/platform/security/credentials/composum/platform/workflow/test/mail/servers/hpssendgrid.debugReplaceResourceType.edit.dialog.html?forceResourceType=composum/platform/workflow/components/mail/mailserverconfig- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected com.composum.nodes.debugutil.RenderWithResourceTypeServlet.Config
config
Deprecated.static String
PARAM_FORCE_RESOURCE_TYPE
Deprecated.Parameter with whichRequestDispatcherOptions
can be given - meant to be a forced resource type to render the resource with.static String
SELECTOR
Deprecated.The selector which activates this servlet.
-
Constructor Summary
Constructors Constructor Description RenderWithResourceTypeServlet()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
Deprecated.protected void
setConfig(com.composum.nodes.debugutil.RenderWithResourceTypeServlet.Config config)
Deprecated.-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service
-
-
-
-
Field Detail
-
config
protected com.composum.nodes.debugutil.RenderWithResourceTypeServlet.Config config
Deprecated.
-
PARAM_FORCE_RESOURCE_TYPE
public static final String PARAM_FORCE_RESOURCE_TYPE
Deprecated.Parameter with whichRequestDispatcherOptions
can be given - meant to be a forced resource type to render the resource with.- See Also:
- Constant Field Values
-
SELECTOR
public static final String SELECTOR
Deprecated.The selector which activates this servlet.- See Also:
- Constant Field Values
-
-
Method Detail
-
doGet
protected void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
Deprecated.- Overrides:
doGet
in classorg.apache.sling.api.servlets.SlingSafeMethodsServlet
- Throws:
javax.servlet.ServletException
IOException
-
setConfig
protected void setConfig(com.composum.nodes.debugutil.RenderWithResourceTypeServlet.Config config)
Deprecated.
-
-