Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit f1b7b4d7ec933d710cb6b26e17a637e39812b48a 1 parent 450d4eb
Pavel Bucek pavelbucek authored
4 tests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/e2e/EncodedObjectTest.java
@@ -236,7 +236,7 @@ public void onOpen(Session session) {
236 236 e.printStackTrace();
237 237 }
238 238 }
239   - }, cec, getURI(TestEncodeBeanMethodReturn.class));
  239 + }, cec, getURI(CustomPrimitiveEncoderEndpoint.class));
240 240
241 241 assertTrue(messageLatch.await(5, TimeUnit.SECONDS));
242 242 assertEquals("encoded5", receivedMessage);
@@ -248,7 +248,7 @@ public void onOpen(Session session) {
248 248 }
249 249 }
250 250
251   - @ServerEndpoint(value = "/echo2", encoders = {CustomIntEncoder.class})
  251 + @ServerEndpoint(value = "/echo-primitive-encoder", encoders = {CustomIntEncoder.class})
252 252 public static class CustomPrimitiveEncoderEndpoint {
253 253
254 254 @OnMessage

0 comments on commit f1b7b4d

Please sign in to comment.
Something went wrong with that request. Please try again.