|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.phraseanet.service.api.PhraseanetApiCallService
public final class PhraseanetApiCallService
PhraseanetApiCallService
Method Summary | |
---|---|
static net.sf.json.JSONObject |
getPostResponse(String strUrl,
Map<String,List<String>> mapParameters,
Account account)
Get the response of a POST request |
static net.sf.json.JSONObject |
getResponse(String strRequest,
Account account)
Get a response for a GET request |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static net.sf.json.JSONObject getResponse(String strRequest, Account account) throws PhraseanetApiCallException
strRequest
- The requestaccount
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static net.sf.json.JSONObject getPostResponse(String strUrl, Map<String,List<String>> mapParameters, Account account) throws PhraseanetApiCallException
strUrl
- The URLmapParameters
- The parametersaccount
- the user account
PhraseanetApiCallException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |