cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [1/2] git commit: add info-log in WebSocketTestClient's fragment/stream handlers
Date Mon, 28 Apr 2014 09:36:18 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 99a1f19ab -> 0b4fe87bb


add info-log in WebSocketTestClient's fragment/stream handlers


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/b7983313
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b7983313
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b7983313

Branch: refs/heads/master
Commit: b7983313d7270c72de8762820b3db0589b35eb4b
Parents: 99a1f19
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Fri Apr 25 16:04:15 2014 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Mon Apr 28 11:35:45 2014 +0200

----------------------------------------------------------------------
 .../apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b7983313/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
index 67835b9..b28a1c6 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
@@ -125,6 +125,7 @@ class WebSocketTestClient {
         }
 
         public void onFragment(byte[] fragment, boolean last) {
+            LOG.info("[ws] received fragment bytes (last?" + last + ") --> " + fragment);
             processFragments(fragment, last);
         }
 
@@ -135,6 +136,7 @@ class WebSocketTestClient {
         }
 
         public void onFragment(String fragment, boolean last) {
+            LOG.info("[ws] received fragment (last?" + last + ") --> " + fragment);
             processFragments(fragment, last);
         }
         


Mime
View raw message