public final class HeadersSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<okhttp3.Headers>
Headers
objects.Constructor and Description |
---|
HeadersSerializer() |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.module.SimpleModule |
getModule()
Gets a module wrapping this serializer as an adapter for the Jackson
ObjectMapper.
|
void |
serialize(okhttp3.Headers value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
public static com.fasterxml.jackson.databind.module.SimpleModule getModule()
public void serialize(okhttp3.Headers value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<okhttp3.Headers>
IOException
Copyright © 2019. All rights reserved.