public class InitOperations extends Object
Constructor and Description |
---|
InitOperations() |
Modifier and Type | Method and Description |
---|---|
List<Pattern> |
buildExcludedPatternsList(Dispatcher dispatcher)
Extract a list of patterns to exclude from request filtering
|
void |
cleanup() |
protected Dispatcher |
createDispatcher(HostConfig filterConfig)
Create a
Dispatcher |
Dispatcher |
findDispatcherOnThread() |
Dispatcher |
initDispatcher(HostConfig filterConfig)
Creates and initializes the dispatcher
|
StaticContentLoader |
initStaticContentLoader(HostConfig filterConfig,
Dispatcher dispatcher)
Initializes the static content loader with the filter configuration
|
public Dispatcher initDispatcher(HostConfig filterConfig)
filterConfig
- host configurationpublic StaticContentLoader initStaticContentLoader(HostConfig filterConfig, Dispatcher dispatcher)
filterConfig
- host configurationdispatcher
- the dispatcherpublic Dispatcher findDispatcherOnThread()
IllegalStateException
- If there is no dispatcher availableprotected Dispatcher createDispatcher(HostConfig filterConfig)
Dispatcher
filterConfig
- host configurationpublic void cleanup()
public List<Pattern> buildExcludedPatternsList(Dispatcher dispatcher)
dispatcher
- The dispatcher to check for exclude pattern configurationStrutsConstants.STRUTS_ACTION_EXCLUDE_PATTERN
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.