|
||||||||||
| 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(java.lang.String strUrl,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.String> listElements)
Call WS to download a file |
void |
callWSDownloadFile(java.lang.String strUrl,
java.lang.String strFilePath,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.String> listElements)
Call WS to download a file |
java.lang.String |
callWSGet(java.lang.String strUrl,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.String> listElements)
Call Rest WS to execute a GET method |
java.lang.String |
callWSGetFileName(java.lang.String strUrl)
Call Rest WS to get the file name |
java.lang.String |
callWSPost(java.lang.String strUrl,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> mapParameters,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.String> listElements)
Call Rest WS to do an action |
java.lang.String |
callWSPostMultiPart(java.lang.String strUrl,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> mapParameters,
java.util.Map<java.lang.String,org.apache.commons.fileupload.FileItem> fileItems,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.String> listElements)
Call Rest WS to execute a multipart POST method |
| Method Detail |
|---|
java.lang.String callWSGetFileName(java.lang.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
java.lang.String callWSGet(java.lang.String strUrl,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.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
java.lang.String callWSPost(java.lang.String strUrl,
java.util.Map<java.lang.String,java.util.List<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
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
java.lang.String callWSPostMultiPart(java.lang.String strUrl,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> mapParameters,
java.util.Map<java.lang.String,org.apache.commons.fileupload.FileItem> fileItems,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.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(java.lang.String strUrl,
java.lang.String strFilePath,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.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(java.lang.String strUrl,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.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 | |||||||||