| com.flexive.war.webdav.DefaultServlet com.flexive.war.webdav.FxWebDavServletBase com.flexive.war.webdav.FxWebDavServlet
All known Subclasses: com.flexive.war.servlet.WebDavCfgServlet,
getDavContext | protected static FxDavContext getDavContext()(Code) | | Returns the dav context that should be used.
the dav context |
inputStreamToString | protected static String inputStreamToString(HttpServletRequest re)(Code) | | Converts the input stream to a string.
Parameters: re - the request the input stream as string |
isLoggedIn | abstract protected boolean isLoggedIn(HttpServletRequest request)(Code) | | Chcks if a webdav user is currently logged in.
Parameters: request - the request true if a user is currently logged in an may access webdav |
login | abstract protected boolean login(HttpServletRequest request, String username, String password)(Code) | | Tries to LOG a user in for webdav access.
This function has to be fast since some dav clients are calling the login with every request,
therefor caching is recommended.
Parameters: request - the request Parameters: username - the username Parameters: password - the password true if the login was successfull |
rewriteUrl | protected static String rewriteUrl(String path)(Code) | | Rewrites the url.
Parameters: path - the path to process the final url |
Methods inherited from com.flexive.war.webdav.DefaultServlet | protected boolean checkIfHeaders(HttpServletRequest request, HttpServletResponse response, ResourceAttributes resourceAttributes) throws IOException(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected void displaySize(StringBuffer buf, int filesize)(Code)(Java Doc) protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected void doHead(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected File executePartialPut(HttpServletRequest req, Range range, String path) throws IOException(Code)(Java Doc) protected InputStream findXsltInputStream(DirContext directory)(Code)(Java Doc) protected String getETag(ResourceAttributes resourceAttributes)(Code)(Java Doc) protected String getReadme(DirContext directory)(Code)(Java Doc) protected String getRelativePath(HttpServletRequest request)(Code)(Java Doc) public void init() throws ServletException(Code)(Java Doc) protected Range parseContentRange(HttpServletRequest request, HttpServletResponse response) throws IOException(Code)(Java Doc) protected Vector parseRange(HttpServletRequest request, HttpServletResponse response, ResourceAttributes resourceAttributes) throws IOException(Code)(Java Doc) protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException(Code)(Java Doc) protected String renderSize(long size)(Code)(Java Doc) protected InputStream renderXml(String contextPath, CacheEntry cacheEntry, InputStream xsltInputStream) throws IOException(Code)(Java Doc) protected static String rewriteUrl(String path)(Code)(Java Doc) protected void serveResource(HttpServletRequest request, HttpServletResponse response, boolean content) throws IOException, ServletException(Code)(Java Doc)
|
|
|