public class MultipleValuesResponseProcessor extends Object implements ResponseProcessor
| Constructor and Description |
|---|
MultipleValuesResponseProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
processResponse(String strResponse,
Locale locale,
Map mapData)
Analyzes the response and formats it.
|
void |
setInvalidResponseMessage(String strMessage)
Set the Invalid Response Message
|
void |
setInvalidResponseMessageI18nKey(String strMessage)
Set the Invalid Response Message
|
void |
setMutipleValuesMapFile(String strMapFile)
Set the map file path
|
void |
setValueTermsMap(Map<String,List<String>> map)
Set the map of values / terms
|
public void setMutipleValuesMapFile(String strMapFile)
strMapFile - public void setValueTermsMap(Map<String,List<String>> map)
map - the mappublic void setInvalidResponseMessage(String strMessage)
strMessage - The messagepublic void setInvalidResponseMessageI18nKey(String strMessage)
strMessage - The messagepublic String processResponse(String strResponse, Locale locale, Map mapData) throws ResponseProcessingException
processResponse in interface ResponseProcessorstrResponse - The responselocale - The localemapData - The map of dataResponseProcessingException - if an exception occurs during processingCopyright © 2017 City of Paris. All rights reserved.