public class MultipleValuesResponseProcessor extends AbstractProcessor 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
|
getName, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic 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 © 2018 City of Paris. All rights reserved.