Class DefaultProgressManager.JSONTracker

    • Constructor Summary

      Constructors 
      Constructor Description
      JSONTracker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getProgress​(java.lang.String progressId)
      Returns upload progress in percents so far.
      java.lang.String getServletMapping()  
      void service​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String actionName, java.util.List<java.lang.String> params)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getProgress

        public int getProgress​(java.lang.String progressId)
        Returns upload progress in percents so far.
        Parameters:
        progressId - The string representation of the progress ID that you want to know the progress of.
        Returns:
        a value between 0 to 100 indicating the progress
      • service

        public void service​(javax.servlet.http.HttpServletRequest req,
                            javax.servlet.http.HttpServletResponse resp,
                            java.lang.String actionName,
                            java.util.List<java.lang.String> params)
                     throws java.io.IOException
        Specified by:
        service in interface WikiAjaxServlet
        Throws:
        java.io.IOException