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 StringPARAMETER_NAME
-
Constructor Summary
Constructors Constructor Description DownloadManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleAttachment(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, XfcSession xfs, UserContext uc)static voidhandleProjektRessource(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, XfcSession xfs, UserContext uc)static booleanhandlePublicMandantRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc)static booleanhandlePublicMandantRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)static booleanhandlePublicPluginRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)static booleanhandlePublicPluginRessourceByUUID(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)static booleanhandlePublicProjektRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc)static booleanhandlePublicProjektRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)static voidhandlePublicRessourceByName(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, UserContext uc, String contentType)static booleanisPublic(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)
-
-