public interface IWebServiceCaller
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.fileupload.FileItem |
callWSDownloadFile(String strUrl,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
List<String> listElements)
Call WS to download a file
|
void |
callWSDownloadFile(String strUrl,
String strFilePath,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
List<String> listElements)
Call WS to download a file
|
String |
callWSGet(String strUrl,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
List<String> listElements)
Call Rest WS to execute a GET method
|
String |
callWSGetFileName(String strUrl)
Call Rest WS to get the file name
|
String |
callWSPost(String strUrl,
Map<String,List<String>> mapParameters,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
List<String> listElements)
Call Rest WS to do an action
|
String |
callWSPostMultiPart(String strUrl,
Map<String,List<String>> mapParameters,
Map<String,org.apache.commons.fileupload.FileItem> fileItems,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
List<String> listElements)
Call Rest WS to execute a multipart POST method
|
String callWSGetFileName(String strUrl) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strUrl - the urlfr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP issueString callWSGet(String strUrl, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, List<String> listElements) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strUrl - the urlauthenticator - The request authenticatorlistElements - the list of elements to include in the signaturefr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP issueString callWSPost(String strUrl, Map<String,List<String>> mapParameters, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, List<String> listElements) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strUrl - the urlmapParameters - the params to pass in the postauthenticator - The request authenticatorlistElements - the list of elements to include in the signaturefr.paris.lutece.util.httpaccess.HttpAccessException - the exception if there is a problemString callWSPostMultiPart(String strUrl, Map<String,List<String>> mapParameters, Map<String,org.apache.commons.fileupload.FileItem> fileItems, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, List<String> listElements) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strUrl - the urlmapParameters - the params to pass in the postfileItems - the file to upload - map of (parameter_name, file_to_upload)authenticator - The request authenticatorlistElements - the list of elements to include in the signaturefr.paris.lutece.util.httpaccess.HttpAccessException - the exception if there is a problemvoid callWSDownloadFile(String strUrl, String strFilePath, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, List<String> listElements) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strUrl - the url of the file to downloadstrFilePath - the file path to download the fileauthenticator - the request authenticatorlistElements - the list of elements to include in the signaturefr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP errororg.apache.commons.fileupload.FileItem callWSDownloadFile(String strUrl, fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator, List<String> listElements) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strUrl - the url of the file to downloadauthenticator - the request authenticatorlistElements - the list of elements to include in the signatureFileItemfr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP errorCopyright © 2021 City of Paris. All rights reserved.