Package com.composum.sling.core.pckgmgr
Class PackagesServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- com.composum.sling.core.servlet.AbstractConsoleServlet
-
- com.composum.sling.core.pckgmgr.PackagesServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class PackagesServlet extends com.composum.sling.core.servlet.AbstractConsoleServlet
The general hook (servlet) for the Package Manager feature provides the path '/bin/packages.html/...'.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONSOLE_PATH
protected com.composum.sling.core.CoreConfiguration
coreConfig
protected com.composum.sling.nodes.NodesConfiguration
nodesConfig
static Pattern
PATH_PATTERN
static String
RESOURCE_TYPE
static String
SERVLET_PATH
-
Constructor Summary
Constructors Constructor Description PackagesServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getConsolePath(com.composum.sling.core.BeanContext context)
protected Pattern
getPathPattern(com.composum.sling.core.BeanContext context)
protected String
getResourceType(com.composum.sling.core.BeanContext context)
protected String
getServletPath(com.composum.sling.core.BeanContext context)
-
Methods inherited from class com.composum.sling.core.servlet.AbstractConsoleServlet
activate, checkConsoleAccess, createContext, doGet, getRequestPath, getServiceKey, prepareForward
-
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
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
CONSOLE_PATH
public static final String CONSOLE_PATH
- See Also:
- Constant Field Values
-
PATH_PATTERN
public static final Pattern PATH_PATTERN
-
coreConfig
protected com.composum.sling.core.CoreConfiguration coreConfig
-
nodesConfig
protected com.composum.sling.nodes.NodesConfiguration nodesConfig
-
-
Method Detail
-
getServletPath
protected String getServletPath(com.composum.sling.core.BeanContext context)
- Specified by:
getServletPath
in classcom.composum.sling.core.servlet.AbstractConsoleServlet
-
getPathPattern
protected Pattern getPathPattern(com.composum.sling.core.BeanContext context)
- Specified by:
getPathPattern
in classcom.composum.sling.core.servlet.AbstractConsoleServlet
-
getResourceType
protected String getResourceType(com.composum.sling.core.BeanContext context)
- Specified by:
getResourceType
in classcom.composum.sling.core.servlet.AbstractConsoleServlet
-
getConsolePath
protected String getConsolePath(com.composum.sling.core.BeanContext context)
- Overrides:
getConsolePath
in classcom.composum.sling.core.servlet.AbstractConsoleServlet
-
-