简体   繁体   English

在Play 2.0中处理webdav请求和响应

[英]Handling webdav request and response in Play 2.0

Is there any work around for handling WEBDAV request and response in Play Framework 2.0? 在Play Framework 2.0中是否可以处理WEBDAV请求和响应?

I know that it is supporting in Play 1.0 (by adding * in router file) 我知道它在Play 1.0中受支持(通过在路由器文件中添加*)

Currently I am working on Global.java and using oRequestRouted() , but I am not able to send a response as xml back to client. 目前,我正在使用Global.java并使用oRequestRouted() ,但无法将响应作为xml发送回客户端。

Thanks 谢谢

Since Play framework 2.0 + , it will not support WebDav . Play framework 2.0 + ,它将不再支持WebDav One approach is to convert existing application developed in Play framework to tomcat web application. 一种方法是将在Play框架中开发的现有应用程序转换为tomcat Web应用程序。 Then you plug in your WebDAV support on top of that. 然后,在此之上插入WebDAV支持。

This is the only thing I know as far as providing support in Play framework. 就提供Play框架的支持而言,这是我唯一知道的事情。

However, I have not used this approach though. 但是,我没有使用这种方法。

Please let me know if anybody has done it similar to to my idea. 请让我知道是否有人按照我的想法做过。

Thanks 谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM