|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWebServiceCaller
WebServiceCaller Interface
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
String callWSGetFileName(String strUrl)
throws fr.paris.lutece.util.httpaccess.HttpAccessException
strUrl - the url
fr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP issue
String 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 signature
fr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP issue
String 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 signature
fr.paris.lutece.util.httpaccess.HttpAccessException - the exception if there is a problem
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)
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 signature
fr.paris.lutece.util.httpaccess.HttpAccessException - the exception if there is a problem
void 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 signature
fr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP error
org.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 signature
FileItem
fr.paris.lutece.util.httpaccess.HttpAccessException - exception if there is an HTTP error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||