|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWebServiceCaller
WebServiceCaller Interface
| Method Summary | |
|---|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||