(Class<?> target, EndpointConfig endpointConfig,
boolean binary, InstanceManager instanceManager)
| 439 | } |
| 440 | |
| 441 | private static List<Class<? extends Decoder>> matchDecoders(Class<?> target, EndpointConfig endpointConfig, |
| 442 | boolean binary, InstanceManager instanceManager) { |
| 443 | DecoderMatch decoderMatch = matchDecoders(target, endpointConfig, instanceManager); |
| 444 | if (binary) { |
| 445 | if (!decoderMatch.getBinaryDecoders().isEmpty()) { |
| 446 | return decoderMatch.getBinaryDecoders(); |
| 447 | } |
| 448 | } else if (!decoderMatch.getTextDecoders().isEmpty()) { |
| 449 | return decoderMatch.getTextDecoders(); |
| 450 | } |
| 451 | return null; |
| 452 | } |
| 453 | |
| 454 | private static DecoderMatch matchDecoders(Class<?> target, EndpointConfig endpointConfig, |
| 455 | InstanceManager instanceManager) { |
no test coverage detected