我想知道是否可以在没有任何第三方库的情况下使用 Wildfly 应用程序服务器的重写引擎。我尝试过使用重写阀 https://help.openshift.com/hc/en-us/articles/202398810-How-to-redirect-traffic-to-HTTPS-,但它不适用于 Wildfly 8.x
如果不可能,有什么小型库可以使用吗?
您可以使用谓词属性和处理程序 http://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#predicates-attributes-and-handlers由 undertow 提供,您必须添加该文件undertow-handlers.conf
into WEB-INF
与规则的目录。
另一种选择是使用漂亮脸蛋 http://www.ocpsoft.org/prettyfaces/.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)