@Test void testDecoderWithoutParam() { assertSame(fooBarDecoder, decoders.decoder("foo/bar")); }
public Decoder decoder(CharSequence contentType) { if (contentType == null) { return defaultValue(); } String[] parts = PARAM_DELIMITER.split(contentType); return getOrDefault(parts[0]); }
Decoders extends MediaTypeCodecs<Decoder> { public Decoder decoder(CharSequence contentType) { if (contentType == null) { return defaultValue(); } String[] parts = PARAM_DELIMITER.split(contentType); return getOrDefault(parts[0]); } }
Decoders extends MediaTypeCodecs<Decoder> { public Decoder decoder(CharSequence contentType) { if (contentType == null) { return defaultValue(); } String[] parts = PARAM_DELIMITER.split(contentType); return getOrDefault(parts[0]); } @Builder private  Decoders(CharSequence defaultContentType, @Singular ImmutableList<Decoder> decoders); }
Decoders extends MediaTypeCodecs<Decoder> { public Decoder decoder(CharSequence contentType) { if (contentType == null) { return defaultValue(); } String[] parts = PARAM_DELIMITER.split(contentType); return getOrDefault(parts[0]); } @Builder private  Decoders(CharSequence defaultContentType, @Singular ImmutableList<Decoder> decoders); Decoder decoder(CharSequence contentType); }
Decoders extends MediaTypeCodecs<Decoder> { public Decoder decoder(CharSequence contentType) { if (contentType == null) { return defaultValue(); } String[] parts = PARAM_DELIMITER.split(contentType); return getOrDefault(parts[0]); } @Builder private  Decoders(CharSequence defaultContentType, @Singular ImmutableList<Decoder> decoders); Decoder decoder(CharSequence contentType);  }