public final class PurgeModule extends HTTPModule.Abstract
HTTPModule.Abstract, HTTPModule.Context
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT_PATH
Accept path.
|
static String |
DEFAULT_PATH
Default path.
|
static String |
PURGE_CONTEXT_ATTRIBUTE
Purge context attribute.
|
MODULE_UUID_PROPERTY
Constructor and Description |
---|
PurgeModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
addServlets(Map<String,String> servlets)
Adds the servlets to the servlets map.
|
String |
getDefaultPath()
Gets the default path for this module.
|
void |
prepareServletContext(ServletContext servletContext)
Prepares the servlet context.
|
protected boolean |
setUp(KeyedGroups contextProperties)
Sets up the server module.
|
void |
tearDown()
Tears down what has been set up.
|
public static final String ACCEPT_PATH
public static final String DEFAULT_PATH
public static final String PURGE_CONTEXT_ATTRIBUTE
public String getDefaultPath()
public void prepareServletContext(ServletContext servletContext)
prepareServletContext
in interface HTTPModule
prepareServletContext
in class HTTPModule.Abstract
servletContext
- The servlet context.public void tearDown()
tearDown
in interface HTTPModule
tearDown
in class HTTPModule.Abstract
protected void addServlets(Map<String,String> servlets)
addServlets
in class HTTPModule.Abstract
servlets
- The servlets map.protected boolean setUp(KeyedGroups contextProperties)
setUp
in class HTTPModule.Abstract
contextProperties
- The context properties.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.