Browse files

TYRUS-252: Encoder for primitive types cannot be overridden.

  • Loading branch information...
1 parent 450d4eb commit f1b7b4d7ec933d710cb6b26e17a637e39812b48a @pavelbucek pavelbucek committed Sep 16, 2013
View
4 tests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/e2e/EncodedObjectTest.java
@@ -236,7 +236,7 @@ public void onOpen(Session session) {
e.printStackTrace();
}
}
- }, cec, getURI(TestEncodeBeanMethodReturn.class));
+ }, cec, getURI(CustomPrimitiveEncoderEndpoint.class));
assertTrue(messageLatch.await(5, TimeUnit.SECONDS));
assertEquals("encoded5", receivedMessage);
@@ -248,7 +248,7 @@ public void onOpen(Session session) {
}
}
- @ServerEndpoint(value = "/echo2", encoders = {CustomIntEncoder.class})
+ @ServerEndpoint(value = "/echo-primitive-encoder", encoders = {CustomIntEncoder.class})
public static class CustomPrimitiveEncoderEndpoint {
@OnMessage

0 comments on commit f1b7b4d

Please sign in to comment.