Class 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:
    1. httpclient-4.x.x.jar
    2. httpcore-4.x.x.jar
    3. commons-logging-1.1.1.jar
    4. jackson-core-2.x.x.jar
    5. jackson-databind-2.x.x.jar
    6. jackson-annotations-2.x.x.jar
    See Also:
    Using https
    • Field Detail

      • SERVER

        protected static String SERVER
      • API_KEY

        protected static String API_KEY
    • Constructor Detail

      • JSonClientActiviti

        public JSonClientActiviti()
    • Method Detail

      • get

        public static com.fasterxml.jackson.databind.JsonNode get​(String resource,
                                                                  String filter,
                                                                  boolean useCache)
                                                           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
      • delete

        public static com.fasterxml.jackson.databind.JsonNode delete​(com.fasterxml.jackson.databind.JsonNode object)
                                                              throws Exception
        Throws:
        Exception