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

All Known Implementing Classes:
WebServiceCaller

public interface IWebServiceCaller

WebServiceCaller Interface


Method Summary
 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)
          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)
                                throws fr.paris.lutece.util.httpaccess.HttpAccessException
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
Returns:
the response as a string
Throws:
fr.paris.lutece.util.httpaccess.HttpAccessException - the exception if there is a problem


Copyright © 2012 Mairie de Paris. All Rights Reserved.