Class IPAddressSerializer.IPv6
java.lang.Object
tools.jackson.databind.ValueSerializer<I>
com.github.robtimus.net.ip.jackson.databind.IPAddressSerializer<IPv6Address>
com.github.robtimus.net.ip.jackson.databind.IPAddressSerializer.IPv6
- All Implemented Interfaces:
JsonFormatVisitable
- Enclosing class:
- IPAddressSerializer<I extends IPAddress<?>>
A serializer for
IPv4Address.- Author:
- Rob Spoor
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.robtimus.net.ip.jackson.databind.IPAddressSerializer
IPAddressSerializer.AnyVersion, IPAddressSerializer.IPv4, IPAddressSerializer.IPv6Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
ValueSerializer.None -
Constructor Summary
ConstructorsConstructorDescriptionIPv6(IPAddressFormatter<? super IPv6Address> formatter) Creates a newIPv6Addressserializer. -
Method Summary
Methods inherited from class com.github.robtimus.net.ip.jackson.databind.IPAddressSerializer
serializeMethods inherited from class tools.jackson.databind.ValueSerializer
acceptJsonFormatVisitor, createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
IPv6
Creates a newIPv6Addressserializer.- Parameters:
formatter- The formatter to use. Ifnull,IPAddress.toString()will be used instead.
-
-
Method Details
-
handledType
- Specified by:
handledTypein classIPAddressSerializer<IPv6Address>
-