public class WebServiceCaller extends Object implements IWebServiceCaller
| Constructor and Description | 
|---|
| WebServiceCaller() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | callWebService(String strUrl,
              Map<String,String> mapParameters,
              fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
              List<String> listElements,
              HttpMethodEnum httpMethod)This method calls Rest WS to do an action | 
| protected String | trace(String strUrl,
     Map<String,String> mapParameters,
     fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
     List<String> listElements)Trace the web service call | 
public String callWebService(String strUrl, Map<String,String> mapParameters, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, List<String> listElements, HttpMethodEnum httpMethod) throws fr.paris.lutece.plugins.crmclient.util.CRMException
callWebService in interface IWebServiceCallerstrUrl - the urlmapParameters - the params to pass in the postauthenticator - The request authenticatorlistElements - the list of elements to include in the signaturehttpMethod - the http method usedfr.paris.lutece.plugins.crmclient.util.CRMException - the exception if there is a problemprotected String trace(String strUrl, Map<String,String> mapParameters, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, List<String> listElements)
strUrl - The WS URImapParameters - The parametersauthenticator - The Request AuthenticatorlistElements - The list of elements to use to build the signatureCopyright © 2019 City of Paris. All rights reserved.