Class LoadCommon

    • Field Detail

      • HTMLLEN

        protected static int HTMLLEN
      • tdsContext

        @Autowired
        protected TdsContext tdsContext
      • initialized

        protected boolean initialized
      • once

        protected boolean once
      • req

        protected javax.servlet.http.HttpServletRequest req
      • res

        protected javax.servlet.http.HttpServletResponse res
      • server

        protected String server
      • requestname

        protected String requestname
      • threddsname

        protected String threddsname
      • uploaddir

        protected String uploaddir
      • downloaddir

        protected String downloaddir
      • downloaddirname

        protected String downloaddirname
    • Constructor Detail

      • LoadCommon

        public LoadCommon()
                   throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
    • Method Detail

      • parseList

        public static List<String> parseList​(String params,
                                             char sep,
                                             boolean decode)
      • init

        public void init()
                  throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • initOnce

        public void initOnce​(javax.servlet.http.HttpServletRequest req)
                      throws LoadCommon.SendError
        Invoked on first get so that everything is available, especially Spring stuff.
        Throws:
        LoadCommon.SendError
      • inquire

        protected String inquire()
      • sendForm

        protected void sendForm​(String msg)
      • sendErrorForm

        protected void sendErrorForm​(int code,
                                     String err)
      • sendOK

        protected void sendOK​(String msg)
      • sendError

        protected void sendError​(int code,
                                 String msg)
      • sendError

        protected void sendError​(int code,
                                 String msg,
                                 Throwable e)
      • sendReply

        protected void sendReply​(int code,
                                 String msg)
      • reportRequest

        protected static void reportRequest​(javax.servlet.http.HttpServletRequest req)
      • buildForm

        protected abstract String buildForm​(String msg)