Class JSonClientActiviti
- java.lang.Object
-
- coop.intergal.espresso.presutec.utils.JSonClientActiviti
-
public class JSonClientActiviti extends Object
A very simple, self-contained demo REST client that exercises an Espresso Logic API.
You will need the following jars:- httpclient-4.x.x.jar
- httpcore-4.x.x.jar
- commons-logging-1.1.1.jar
- jackson-core-2.x.x.jar
- jackson-databind-2.x.x.jar
- jackson-annotations-2.x.x.jar
- See Also:
- Using https
-
-
Constructor Summary
Constructors Constructor Description JSonClientActiviti()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.JsonNodedelete(com.fasterxml.jackson.databind.JsonNode object)static com.fasterxml.jackson.databind.JsonNodeget(String url)static com.fasterxml.jackson.databind.JsonNodeget(String resource, String filter, boolean useCache)static voidmain(String[] args)static com.fasterxml.jackson.databind.JsonNodepost(String resource, com.fasterxml.jackson.databind.JsonNode object)static com.fasterxml.jackson.databind.JsonNodeput(String resource, com.fasterxml.jackson.databind.JsonNode object)
-
-
-
Method Detail
-
get
public static com.fasterxml.jackson.databind.JsonNode get(String resource, String filter, boolean useCache) throws Exception
- Throws:
Exception
-
get
public static com.fasterxml.jackson.databind.JsonNode get(String url) throws Exception
- Throws:
Exception
-
put
public static com.fasterxml.jackson.databind.JsonNode put(String resource, com.fasterxml.jackson.databind.JsonNode object) throws Exception
- Throws:
Exception
-
post
public static com.fasterxml.jackson.databind.JsonNode post(String resource, com.fasterxml.jackson.databind.JsonNode object) throws Exception
- Throws:
Exception
-
-