public final class QueryModule extends HTTPModule.Abstract
HTTPModule.Abstract, HTTPModule.Context
Modifier and Type | Field and Description |
---|---|
static String |
COUNT_PATH
Count path.
|
static String |
DEFAULT_PATH
Default path.
|
static String |
INFO_PATH
Info path.
|
static String |
QUERY_REQUESTER_ATTRIBUTE
Query requester attribute.
|
static String |
VALUES_PATH
Values path.
|
MODULE_UUID_PROPERTY
Constructor and Description |
---|
QueryModule() |
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 COUNT_PATH
public static final String DEFAULT_PATH
public static final String INFO_PATH
public static final String VALUES_PATH
public static final String QUERY_REQUESTER_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.