Author: markt Date: Fri Feb 27 15:00:57 2015 New Revision: 1662701 URL: http://svn.apache.org/r1662701 Log: Rename for consistency
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=1662701&r1=1662700&r2=1662701&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java (original) +++ tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java Fri Feb 27 15:00:57 2015 @@ -193,7 +193,7 @@ public abstract class WsRemoteEndpointIm throw new IllegalArgumentException(sm.getString("wsRemoteEndpoint.nullData")); } stateMachine.textStart(); - sendPartialString(CharBuffer.wrap(text), true); + sendMessageBlock(CharBuffer.wrap(text), true); } @@ -225,7 +225,7 @@ public abstract class WsRemoteEndpointIm throw new IllegalArgumentException(sm.getString("wsRemoteEndpoint.nullData")); } stateMachine.textPartialStart(); - sendPartialString(CharBuffer.wrap(fragment), isLast); + sendMessageBlock(CharBuffer.wrap(fragment), isLast); } @@ -241,7 +241,7 @@ public abstract class WsRemoteEndpointIm } - void sendPartialString(CharBuffer part, boolean last) throws IOException { + void sendMessageBlock(CharBuffer part, boolean last) throws IOException { try { // Get the timeout before we send the message. The message may // trigger a session close and depending on timing the client @@ -1077,7 +1077,7 @@ public abstract class WsRemoteEndpointIm private void doWrite(boolean last) throws IOException { if (!Constants.STREAMS_DROP_EMPTY_MESSAGES || used) { buffer.flip(); - endpoint.sendPartialString(buffer, last); + endpoint.sendMessageBlock(buffer, last); buffer.clear(); } else { endpoint.stateMachine.complete(last); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org