Class CodecMatcher<T>
java.lang.Object
org.talend.sdk.component.runtime.manager.service.http.codec.CodecMatcher<T>
- Type Parameters:
T- the type of object selected.
Codec matcher using content type defined with
ContentType on Decoder, Encoder implementations-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CodecMatcher
public CodecMatcher()
-
-
Method Details
-
select
select the suitable codec for the content type- Parameters:
codecList- map of codeccontentType- content type to be handled- Returns:
- the suitable codec for the content type
-