开发者

Play! Request charset

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜