Uses of Interface
com.cognitect.transit.WriteHandler
-
Packages that use WriteHandler Package Description com.cognitect.transit -
-
Uses of WriteHandler in com.cognitect.transit
Methods in com.cognitect.transit that return WriteHandler Modifier and Type Method Description static WriteHandler<?,?>
TransitFactory. defaultDefaultWriteHandler()
<V> WriteHandler<T,V>
WriteHandler. getVerboseHandler()
Gets an alternative handler which provides more readable representations for use in verbose mode; can return nullMethods in com.cognitect.transit that return types with arguments of type WriteHandler Modifier and Type Method Description static Map<Class,WriteHandler<?,?>>
TransitFactory. defaultWriteHandlers()
Returns a map of classes to Handlers that is used by defaultstatic Map<Class,WriteHandler<?,?>>
TransitFactory. writeHandlerMap(Map<Class,WriteHandler<?,?>> customHandlers)
Creates a read-only Map of Class to WriteHandler containing default WriteHandlers with customHandlers merged in.Methods in com.cognitect.transit with parameters of type WriteHandler Modifier and Type Method Description static <T> Writer<T>
TransitFactory. writer(TransitFactory.Format type, OutputStream out, WriteHandler<?,?> defaultWriteHandler)
Creates a writer instance.static <T> Writer<T>
TransitFactory. writer(TransitFactory.Format type, OutputStream out, Map<Class,WriteHandler<?,?>> customHandlers, WriteHandler<?,?> defaultWriteHandler)
Creates a writer instance.static <T> Writer<T>
TransitFactory. writer(TransitFactory.Format type, OutputStream out, Map<Class,WriteHandler<?,?>> customHandlers, WriteHandler<?,?> defaultWriteHandler, Function<Object,Object> transform)
Creates a writer instance.Method parameters in com.cognitect.transit with type arguments of type WriteHandler Modifier and Type Method Description static Map<Class,WriteHandler<?,?>>
TransitFactory. writeHandlerMap(Map<Class,WriteHandler<?,?>> customHandlers)
Creates a read-only Map of Class to WriteHandler containing default WriteHandlers with customHandlers merged in.static <T> Writer<T>
TransitFactory. writer(TransitFactory.Format type, OutputStream out, Map<Class,WriteHandler<?,?>> customHandlers)
Creates a writer instance.static <T> Writer<T>
TransitFactory. writer(TransitFactory.Format type, OutputStream out, Map<Class,WriteHandler<?,?>> customHandlers, WriteHandler<?,?> defaultWriteHandler)
Creates a writer instance.static <T> Writer<T>
TransitFactory. writer(TransitFactory.Format type, OutputStream out, Map<Class,WriteHandler<?,?>> customHandlers, WriteHandler<?,?> defaultWriteHandler, Function<Object,Object> transform)
Creates a writer instance.
-