public interface RunDataService extends Service
Modifier and Type | Field and Description |
---|---|
static String |
COOKIE_PARSER_KEY
The property for the implemention of the CookieParser.
|
static String |
DEFAULT_CONFIG
The default parser configuration key.
|
static String |
PARAMETER_PARSER_KEY
The property for the implemention of the ParameterParser.
|
static String |
RUN_DATA_KEY
The property for the implemention of the RunData object
|
static String |
SERVICE_NAME
The key under which this service is stored in TurbineServices.
|
Modifier and Type | Method and Description |
---|---|
RunData |
getRunData(HttpServletRequest req,
HttpServletResponse res,
ServletConfig config)
Gets a default RunData object.
|
RunData |
getRunData(String key,
HttpServletRequest req,
HttpServletResponse res,
ServletConfig config)
Gets a RunData object from a specific configuration.
|
boolean |
putRunData(RunData data)
Puts the used RunData object back to the factory for recycling.
|
getConfiguration, getName, getProperties, setName, setServiceBroker
static final String SERVICE_NAME
static final String DEFAULT_CONFIG
static final String RUN_DATA_KEY
static final String PARAMETER_PARSER_KEY
static final String COOKIE_PARSER_KEY
RunData getRunData(HttpServletRequest req, HttpServletResponse res, ServletConfig config) throws TurbineException
req
- a servlet request.res
- a servlet response.config
- a servlet config.TurbineException
- if the operation fails.RunData getRunData(String key, HttpServletRequest req, HttpServletResponse res, ServletConfig config) throws TurbineException
key
- a configuration key.req
- a servlet request.res
- a servlet response.config
- a servlet config.TurbineException
- if the operation fails.boolean putRunData(RunData data)
data
- the used RunData object.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.