Author: rjung
Date: Sat Jun  3 16:04:14 2017
New Revision: 1797516

URL: http://svn.apache.org/viewvc?rev=1797516&view=rev
Log:
Correct the log message when a MessageHandler for
PongMessage does not implement MessageHandler.Whole.

Changing MessageHandler.Basic to MessageHandler.Whole
in the log message.

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties?rev=1797516&r1=1797515&r2=1797516&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties Sat 
Jun  3 16:04:14 2017
@@ -105,7 +105,7 @@ wsSession.doClose=Closing WebSocket sess
 wsSession.duplicateHandlerBinary=A binary message handler has already been 
configured
 wsSession.duplicateHandlerPong=A pong message handler has already been 
configured
 wsSession.duplicateHandlerText=A text message handler has already been 
configured
-wsSession.invalidHandlerTypePong=A pong message handler must implement 
MessageHandler.Basic
+wsSession.invalidHandlerTypePong=A pong message handler must implement 
MessageHandler.Whole
 wsSession.flushFailOnClose=Failed to flush batched messages on session close
 wsSession.messageFailed=Unable to write the complete message as the WebSocket 
connection has been closed
 wsSession.sendCloseFail=Failed to send close message for session [{0}] to 
remote endpoint

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1797516&r1=1797515&r2=1797516&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sat Jun  3 16:04:14 2017
@@ -110,6 +110,15 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="WebSocket">
+    <changelog>
+      <fix>
+        Correct the log message when a <code>MessageHandler</code> for
+        <code>PongMessage</code> does not implement
+        <code>MessageHandler.Whole</code>. (rjung)
+      </fix>
+    </changelog>
+  </subsection>
   <subsection name="Other">
     <changelog>
       <add>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to