wisdom-framework / wisdom

A modular and dynamic web framework
http://wisdom-framework.org
Apache License 2.0
88 stars 42 forks source link

WebDav support in Wisdom #466

Open dadg opened 9 years ago

dadg commented 9 years ago

Hi,

I would like to know if it could be possible to add WebDav support in Wisdom. As I didn't have any knowledge on Vert.x layer, I don't known how difficult/complex it could be. Maybe someone have some links on how to add it ?

Thanks. WBR // Dad

cescoffier commented 9 years ago

What do you mean by support ? Handling WebDav requests ? Having Wisdom jars on a WebDav server ?

dadg commented 9 years ago

Hi,

Yes I would like to handle WebDav requests. I'm trying to port a classic Tomcat web application to wisdom, and this application use WebDav thanks to this servlet

It would be cool if there is a simple way to handle this in Wisdom

Thanks so much WBR // David

cescoffier commented 9 years ago

Seems doable without too much troubles. The servlet code is here: http://grepcode.com/file/repo1.maven.org/maven2/org.apache.tomcat/tomcat-catalina/7.0.0/org/apache/catalina/servlets/WebdavServlet.java

and a direct mapping seems possible. However, this would be an extension (as webdav is not considered as a core feature).

barjo commented 9 years ago

Hi Clement, David,

There is a vertx webdav handler -> https://github.com/jdcasey/webdav-handler They made an adapter for the ServletRequest and Response, doesn't seems too much trouble indeed.


Jonathan

On Tue, Apr 14, 2015 at 1:58 PM, Clement Escoffier <notifications@github.com

wrote:

Seems doable without too much troubles. The servlet code is here: http://grepcode.com/file/repo1.maven.org/maven2/org.apache.tomcat/tomcat-catalina/7.0.0/org/apache/catalina/servlets/WebdavServlet.java

and a direct mapping seems possible. However, this would be an extension (as webdav is not considered as a core feature).

— Reply to this email directly or view it on GitHub https://github.com/wisdom-framework/wisdom/issues/466#issuecomment-92657443 .