KotlinSerializationMessageBodyWriter

@Produces(value = ["application/json", "application/*+json", "text/json"])
class KotlinSerializationMessageBodyWriter(json: Json) : ServerMessageBodyWriter.AllWriteableMessageBodyWriter

Constructors

Link copied to clipboard
constructor(json: Json)

Functions

Link copied to clipboard
open fun getSize(p0: Any, p1: Class<*>, p2: Type, p3: Array<Annotation>, p4: MediaType): Long
Link copied to clipboard
override fun isWriteable(type: Class<*>, genericType: Type, annotations: Array<Annotation>, mediaType: MediaType): Boolean
override fun isWriteable(type: Class<*>, genericType: Type, target: ResteasyReactiveResourceInfo, mediaType: MediaType): Boolean
Link copied to clipboard
open override fun writeResponse(o: Any, genericType: Type, context: ServerRequestContext)
Link copied to clipboard
open override fun writeTo(o: Any, type: Class<*>, genericType: Type, annotations: Array<Annotation>, mediaType: MediaType, httpHeaders: MultivaluedMap<String, Any>, entityStream: OutputStream)