Package org.ametys.odf
Class CallWSHelper
java.lang.Object
org.ametys.odf.CallWSHelper
Helper for calling WS on a remote server
-
Method Summary
-
Method Details
-
callWS
Request the given url on remote server- Parameters:
url
- the url to be called.parameters
- the HTTP parameterslogger
- The logger for traces- Returns:
- the list of server's url which failed. If empty all WS succeed. Returns
null
if a global error occurred.
-
callWS
Request the given url on remote server- Parameters:
url
- the url to be called.is
- The input stream for HTTP entitylogger
- The logger for traces- Returns:
- the list of server's url which failed. If empty all WS succeed. Returns
null
if a global error occurred.
-