Author: markt
Date: Thu Nov 27 21:39:11 2014
New Revision: 1642236
URL: http://svn.apache.org/r1642236
Log:
Add a comment.
Modified:
tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
Modified:
tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java?rev=1642236&r1=1642235&r2=1642236&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
Thu Nov 27 21:39:11 2014
@@ -544,6 +544,11 @@ public abstract class WsRemoteEndpointIm
throw new
IllegalArgumentException(sm.getString("wsRemoteEndpoint.nullHandler"));
}
+ /*
+ * Note that the implementation will convert primitives and their
object
+ * equivalents by default but that users are free to specify their own
+ * encoders and decoders for this if they wish.
+ */
Encoder encoder = findEncoder(obj);
if (encoder == null && Util.isPrimitive(obj.getClass())) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]