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(t: Any?, type: Class<*>?, genericType: Type?, annotations: Array<out Annotation?>?, mediaType: MediaType?): Long
Link copied to clipboard
fun isWriteable(type: Class<*>?, genericType: Type?, annotations: Array<out Annotation?>?, mediaType: MediaType?): Boolean
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)