Package de.xima.fc.servlet.manager
Class DownloadManager
- java.lang.Object
-
- de.xima.fc.servlet.manager.DownloadManager
-
public class DownloadManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAMETER_NAME
-
Constructor Summary
Constructors Constructor Description DownloadManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
handleAttachment(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, XfcSession xfs, UserContext uc)
static void
handleProjektRessource(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, XfcSession xfs, UserContext uc)
static boolean
handlePublicMandantRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc)
static boolean
handlePublicMandantRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)
static boolean
handlePublicPluginRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)
static boolean
handlePublicPluginRessourceByUUID(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)
static boolean
handlePublicProjektRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc)
static boolean
handlePublicProjektRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)
static void
handlePublicRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)
static boolean
isPublic(String ressourceName)
-
-
-
Field Detail
-
PARAMETER_NAME
public static final String PARAMETER_NAME
- See Also:
- Constant Field Values
-
-
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)
-
-