public class MessagingServlet
/isomorphic/messaging/*
Configuration of this servlet is controlled entirely through server.properties. Refer to the Real-Time Messaging QuickRef for configuration options an details.
NOTE: This servlet is configured to automatically set character encoding on requests and responses to UTF-8. If you wish to force a different encoding, you can do so by specifying an init-param
in your web.xml file, like so:
<servlet> <servlet-name>MessagingServlet</servlet-name> <servlet-class>com.isomorphic.messaging.MessagingServlet</servlet-class> <init-param> <param-name>encoding</param-name> <param-value>some-other-encoding</param-value> </init-param> </servlet>If you wish to switch off explicit encoding altogether, use the
init-param
to set a value of "none". Please see the client-side documentation on Internationalization for a discussion of why this procedure is necessary.