我应该使用XsrfProtectedServiceServlet,尽管它的实验声明? [英] Should I use XsrfProtectedServiceServlet despite its experimental declaration?

查看:115
本文介绍了我应该使用XsrfProtectedServiceServlet,尽管它的实验声明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XsrfProtectedServiceServlet 在其类java-doc描述中说:


我没有看到首先,我已经在使用它 - 尽管尚未投入生产。总之,最后一次的变化似乎是从2011年开始的,所以我应该采取那种严肃的态度吗?



是否有其他人使用过这个类,或者我是不是应该这样做? ?

解决方案

我们已经在生产中使用过,并没有给我们带来任何问题。实验表明它会发生变化。所以应该使用servlet的方式可能会改变。然后,如果它发生变化,你必须改变你的代码,以便与它们内联。



说我们已经在2013年使用GWT 2.5。 1发布了,直到现在还没有出现问题。


The XsrfProtectedServiceServlet says in its class java-doc description:

"EXPERIMENTAL and subject to change. Do not use this in production code."

I didn't see that in the first place and I am already using it - though not in production yet. Anyhow, the last change appears to be from 2011 so should I take that serious or not?

Is anybody else using this class already or should I not lay my hands on this?

解决方案

We have used in production and it did not cause any issues for us. Experimental indicates that it is subjected to change. So the way in which servlet should be used may be changed. Then if it changes, you have to change your code as well to make it inline with them.

Saying that we have used that in as early as 2013 when GWT 2.5.1 released and it hasn't given a problem till now.

这篇关于我应该使用XsrfProtectedServiceServlet,尽管它的实验声明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆