Class Util


  • @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class Util
    extends Object
    Internal utility methods.
    Author:
    tom.fennelly@gmail.com
    • Method Detail

      • readJSONPayload

        public static net.sf.json.JSONObject readJSONPayload​(org.kohsuke.stapler.StaplerRequest request)
                                                      throws IOException
        Throws:
        IOException
      • isTestEnv

        public static boolean isTestEnv()
      • getSessionInfo

        public static Map<String,​String> getSessionInfo​(javax.servlet.http.HttpSession session)