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()
精彩评论