public interface RunDataService extends Service
| Modifier and Type | Field and Description | 
|---|---|
| static String | COOKIE_PARSER_KEYThe property for the implemention of the CookieParser. | 
| static String | DEFAULT_CONFIGThe default parser configuration key. | 
| static String | PARAMETER_PARSER_KEYThe property for the implemention of the ParameterParser. | 
| static String | RUN_DATA_KEYThe property for the implemention of the RunData object | 
| static String | SERVICE_NAMEThe 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, setServiceBrokerstatic 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.