public class NativeRequestBodyToNativeFormatConverter extends Object implements Converter<net.media.openrtb25.request.NativeRequestBody,net.media.openrtb3.NativeFormat>
| Constructor and Description |
|---|
NativeRequestBodyToNativeFormatConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
enhance(net.media.openrtb25.request.NativeRequestBody nativeRequestBody,
net.media.openrtb3.NativeFormat nativeFormat,
Config config,
Provider converterProvider)
Performs modification on the object of type
V using the object of type U. |
net.media.openrtb3.NativeFormat |
map(net.media.openrtb25.request.NativeRequestBody nativeRequestBody,
Config config,
Provider converterProvider)
Converts object of type
U to an object of type V. |
public NativeRequestBodyToNativeFormatConverter()
public net.media.openrtb3.NativeFormat map(net.media.openrtb25.request.NativeRequestBody nativeRequestBody,
Config config,
Provider converterProvider)
throws OpenRtbConverterException
ConverterU to an object of type V.map in interface Converter<net.media.openrtb25.request.NativeRequestBody,net.media.openrtb3.NativeFormat>nativeRequestBody - object that needs to be convertedconfig - see ConfigconverterProvider - see ProviderOpenRtbConverterException - when conversion failspublic void enhance(net.media.openrtb25.request.NativeRequestBody nativeRequestBody,
net.media.openrtb3.NativeFormat nativeFormat,
Config config,
Provider converterProvider)
throws OpenRtbConverterException
ConverterV using the object of type U.enhance in interface Converter<net.media.openrtb25.request.NativeRequestBody,net.media.openrtb3.NativeFormat>nativeRequestBody - object whose fields will be used to perform modificationnativeFormat - object that needs to be modifiedconfig - see ConfigconverterProvider - see ProviderOpenRtbConverterException - when modification operation failsCopyright © 2019. All rights reserved.