Class DownloadManager


  • public class DownloadManager
    extends Object
    • Constructor Detail

      • DownloadManager

        public DownloadManager()
    • Method Detail

      • handleProjektRessource

        public static void handleProjektRessource​(javax.servlet.http.HttpServletRequest req,
                                                  javax.servlet.http.HttpServletResponse resp,
                                                  XfcSession xfs,
                                                  UserContext uc)
                                           throws IOException
        Throws:
        IOException
      • handlePublicRessourceByName

        public static void handlePublicRessourceByName​(javax.servlet.http.HttpServletRequest req,
                                                       javax.servlet.http.HttpServletResponse resp,
                                                       UserContext uc,
                                                       String contentType)
                                                throws IOException
        Throws:
        IOException
      • handlePublicProjektRessourceByName

        public static boolean handlePublicProjektRessourceByName​(javax.servlet.http.HttpServletRequest req,
                                                                 javax.servlet.http.HttpServletResponse resp,
                                                                 UserContext uc)
                                                          throws IOException
        Throws:
        IOException
      • handlePublicProjektRessourceByName

        public static boolean handlePublicProjektRessourceByName​(javax.servlet.http.HttpServletRequest req,
                                                                 javax.servlet.http.HttpServletResponse resp,
                                                                 UserContext uc,
                                                                 String contentType)
                                                          throws IOException
        Throws:
        IOException
      • handlePublicMandantRessourceByName

        public static boolean handlePublicMandantRessourceByName​(javax.servlet.http.HttpServletRequest req,
                                                                 javax.servlet.http.HttpServletResponse resp,
                                                                 UserContext uc)
                                                          throws IOException
        Throws:
        IOException
      • handlePublicMandantRessourceByName

        public static boolean handlePublicMandantRessourceByName​(javax.servlet.http.HttpServletRequest req,
                                                                 javax.servlet.http.HttpServletResponse resp,
                                                                 UserContext uc,
                                                                 String contentType)
                                                          throws IOException
        Throws:
        IOException
      • handleAttachment

        public static void handleAttachment​(javax.servlet.http.HttpServletRequest req,
                                            javax.servlet.http.HttpServletResponse resp,
                                            XfcSession xfs,
                                            UserContext uc)
                                     throws IOException
        Throws:
        IOException
      • handlePublicPluginRessourceByUUID

        public static boolean handlePublicPluginRessourceByUUID​(javax.servlet.http.HttpServletRequest req,
                                                                javax.servlet.http.HttpServletResponse resp,
                                                                UserContext uc,
                                                                String contentType)
                                                         throws IOException
        Throws:
        IOException
      • handlePublicPluginRessourceByName

        public static boolean handlePublicPluginRessourceByName​(javax.servlet.http.HttpServletRequest req,
                                                                javax.servlet.http.HttpServletResponse resp,
                                                                UserContext uc,
                                                                String contentType)
                                                         throws IOException
        Throws:
        IOException
      • isPublic

        public static boolean isPublic​(String ressourceName)