Class SnappyFlow

    • Constructor Detail

      • SnappyFlow

        public SnappyFlow()
    • Method Detail

      • createPost

        protected void createPost​(boolean isEvent)
      • getSnappyflowTags

        public static HashMap<String,​Object> getSnappyflowTags​(String docType)
        This function will default tags for snappyflow
      • getBasicAuthenticationHeader

        protected String getBasicAuthenticationHeader​(String username,
                                                      String password)
        This function return http authentication detail as a String
      • getClient

        protected org.apache.http.client.HttpClient getClient()
        This function will return http client
      • postRequest

        protected int postRequest​(org.apache.http.entity.StringEntity data,
                                  boolean isEvent)
        This function will do HTTP POST andreturns response code
      • isEventToggled

        protected boolean isEventToggled​(boolean currentValue)