Package com.composum.sling.nodes.servlet
Class SourceServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- com.composum.sling.nodes.servlet.SourceServlet
-
- All Implemented Interfaces:
com.composum.sling.core.service.RestrictedService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class SourceServlet extends org.apache.sling.api.servlets.SlingSafeMethodsServlet implements com.composum.sling.core.service.RestrictedService
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.osgi.framework.BundleContext
bundleContext
protected NodesConfiguration
nodesConfig
static String
SERVICE_KEY
static String
SERVLET_PATH
-
Constructor Summary
Constructors Constructor Description SourceServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response)
com.composum.sling.core.service.ServiceRestrictions.Key
getServiceKey()
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service
-
-
-
-
Field Detail
-
SERVLET_PATH
public static final String SERVLET_PATH
- See Also:
- Constant Field Values
-
SERVICE_KEY
public static final String SERVICE_KEY
- See Also:
- Constant Field Values
-
nodesConfig
protected NodesConfiguration nodesConfig
-
bundleContext
protected org.osgi.framework.BundleContext bundleContext
-
-
Method Detail
-
getServiceKey
public com.composum.sling.core.service.ServiceRestrictions.Key getServiceKey()
- Specified by:
getServiceKey
in interfacecom.composum.sling.core.service.RestrictedService
-
doGet
protected void doGet(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull 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
-
-