fr.paris.lutece.plugins.crmclient.util.http
Interface IWebServiceCaller

All Known Implementing Classes:
WebServiceCaller

public interface IWebServiceCaller

WebServiceCaller Interface


Method Summary
 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
 

Method Detail

callWebService

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
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


Copyright © 2013 Mairie de Paris. All Rights Reserved.