Interface IWebServiceCaller

  • All Known Implementing Classes:
    WebServiceCaller

    public interface IWebServiceCaller
    WebServiceCaller Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String callWebService​(java.lang.String strUrl, java.util.Map<java.lang.String,​java.lang.String> mapParameters, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, java.util.List<java.lang.String> listElements, HttpMethodEnum httpMethod)
      This method calls Rest WS to do an action
    • Method Detail

      • callWebService

        java.lang.String callWebService​(java.lang.String strUrl,
                                        java.util.Map<java.lang.String,​java.lang.String> mapParameters,
                                        fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
                                        java.util.List<java.lang.String> listElements,
                                        HttpMethodEnum httpMethod)
                                 throws fr.paris.lutece.plugins.crmclient.util.CRMException
        This method calls Rest WS to do an action
        Parameters:
        strUrl - the url
        mapParameters - the params to pass in the post
        authenticator - The request authenticator
        listElements - the list of elements to include in the signature
        httpMethod - the http method used
        Returns:
        the response as a string
        Throws:
        fr.paris.lutece.plugins.crmclient.util.CRMException - the exception if there is a problem