Package com.apollographql.apollo3.api.java.adapter

Types

Link copied to clipboard
class GuavaOptionalAdapter<T : Any>(wrappedAdapter: Adapter<T>) : Adapter<Optional<T>>

An adapter for Guava's Optional. null is deserialized as Optional.absent.

Link copied to clipboard
class JavaOptionalAdapter<T : Any>(wrappedAdapter: Adapter<T>) : Adapter<Optional<T>>

An adapter for Java's Optional. null is deserialized as Optional.empty.

Properties

Link copied to clipboard
val GuavaOptionalAnyAdapter: GuavaOptionalAdapter<Any>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val GuavaOptionalIntAdapter: GuavaOptionalAdapter<Int>
Link copied to clipboard
Link copied to clipboard
val JavaOptionalAnyAdapter: JavaOptionalAdapter<Any>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val JavaOptionalIntAdapter: JavaOptionalAdapter<Int>
Link copied to clipboard