@ GET @ Path ( "/clearCache" ) @ Produces ( "application/json" ) public String clearCache ( ) throws UnknownHostException { Properties clientProps = getPropeSenderProps ( ) ; String listenerIPAddress = clientProps . getProperty ( "listenerIPAddress" ) ; String listenerPort = clientProps . getProperty ( "listenerPort" ) ; String listenerClearCacheURLPath = clientProps . getProperty ( "listenerClearCacheURLPath" , DEFAULT_CLEAR_CACHE_URL_PATH ) ; String response = restGetCall ( "http://" + listenerIPAddress + ":" + listenerPort + listenerClearCacheURLPath ) ; return response ; }
Clears the active response cache .