public class ProcessEnginesFilter extends AbstractTemplateFilter
Modifier and Type | Field and Description |
---|---|
protected static String |
ADMIN_APP_NAME |
protected AdminRuntimeDelegate |
adminRuntimeDelegate |
static Pattern |
APP_PREFIX_PATTERN |
static String |
APP_ROOT_PLACEHOLDER |
static String |
BASE_PLACEHOLDER |
protected static String |
COCKPIT_APP_NAME |
protected CockpitRuntimeDelegate |
cockpitRuntimeDelegate |
protected static String |
DEFAULT_APP |
protected static String |
INDEX_PAGE |
static String |
PLUGIN_DEPENDENCIES_PLACEHOLDER |
static String |
PLUGIN_PACKAGES_PLACEHOLDER |
protected String |
pluginDependencyFormat |
protected String |
pluginPackageFormat |
protected static String |
SETUP_PAGE |
protected static String |
TASKLIST_APP_NAME |
protected TasklistRuntimeDelegate |
tasklistRuntimeDelegate |
protected static String |
WELCOME_APP_NAME |
protected WelcomeRuntimeDelegate |
welcomeRuntimeDelegate |
Constructor and Description |
---|
ProcessEnginesFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
Apply the filter to the given request/response.
|
protected <T extends AppPlugin> |
createPluginDependenciesStr(String appName) |
protected <T extends AppPlugin> |
createPluginPackagesStr(String appName,
String contextPath) |
protected String |
getDefaultEngineName() |
protected <T extends AppPlugin> |
getPlugins(String appName) |
protected boolean |
needsInitialUser(String engineName) |
protected String |
replacePlaceholder(String data,
String appName,
String engineName,
String contextPath,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
serveIndexPage(String appName,
String engineName,
String contextPath,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
serveIndexPage(String appName,
String engineName,
String pageUri,
String contextPath,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
protected void |
serveTemplate(String requestUri,
String appName,
String pageUri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
destroy, doFilter, getWebResourceContents, hasWebResource, init
protected static final String COCKPIT_APP_NAME
protected static final String ADMIN_APP_NAME
protected static final String TASKLIST_APP_NAME
protected static final String WELCOME_APP_NAME
protected static final String DEFAULT_APP
protected static final String INDEX_PAGE
protected static final String SETUP_PAGE
public static final String APP_ROOT_PLACEHOLDER
public static final String BASE_PLACEHOLDER
public static final String PLUGIN_DEPENDENCIES_PLACEHOLDER
public static final String PLUGIN_PACKAGES_PLACEHOLDER
public static Pattern APP_PREFIX_PATTERN
protected final CockpitRuntimeDelegate cockpitRuntimeDelegate
protected final AdminRuntimeDelegate adminRuntimeDelegate
protected final TasklistRuntimeDelegate tasklistRuntimeDelegate
protected final WelcomeRuntimeDelegate welcomeRuntimeDelegate
protected final String pluginPackageFormat
protected final String pluginDependencyFormat
protected void applyFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
AbstractTemplateFilter
applyFilter
in class AbstractTemplateFilter
IOException
javax.servlet.ServletException
protected void serveIndexPage(String appName, String engineName, String pageUri, String contextPath, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException
IOException
protected String getDefaultEngineName()
protected void serveTemplate(String requestUri, String appName, String pageUri, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected boolean needsInitialUser(String engineName)
protected void serveIndexPage(String appName, String engineName, String contextPath, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
protected String replacePlaceholder(String data, String appName, String engineName, String contextPath, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected <T extends AppPlugin> CharSequence createPluginPackagesStr(String appName, String contextPath)
protected <T extends AppPlugin> CharSequence createPluginDependenciesStr(String appName)
Copyright © 2017. All rights reserved.