开发者

Play! Request charset

开发者 https://www.devze.com 2023-03-09 11:50 出处:网络
I\'m converting a Servlet into a Play! Controller but I can\'t find the Play! equivalent of HttpServletRequest request;

I'm converting a Servlet into a Play! Controller but I can't find the Play! equivalent of

HttpServletRequest request;
String charse开发者_JAVA百科t = request.getCharacterEncoding();

A helping hand needed over here.


Have you tried

request.headers.get("Content-Type").value()

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号