public final class ElasticConnexion extends Object
Constructor and Description |
---|
ElasticConnexion() |
Modifier and Type | Method and Description |
---|---|
String |
DELETE(String strURI)
Send a DELETE request to Elastic Search server
|
String |
GET(String strURI)
Send a GET request to Elastic Search server
|
String |
POST(String strURI,
String strJSON)
Send a POST request to Elastic Search server
|
String |
PUT(String strURI,
String strJSON)
Send a PUT request to Elastic Search server
|
public String GET(String strURI) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strURI
- The URIfr.paris.lutece.util.httpaccess.HttpAccessException
public String PUT(String strURI, String strJSON) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strURI
- the uristrJSON
- the jsonfr.paris.lutece.util.httpaccess.HttpAccessException
- http access exceptionpublic String POST(String strURI, String strJSON) throws fr.paris.lutece.util.httpaccess.HttpAccessException
strURI
- the uristrJSON
- the jsonfr.paris.lutece.util.httpaccess.HttpAccessException
- http access exceptionCopyright © 2017 City of Paris. All rights reserved.