Marc Knaup
11/09/2018, 11:35 AMinstall(QueryConsideringContentNegotiation) {
allowedMethods = setOf(HttpMethod.Get, HttpMethod.Head) // default = Get
parameterName = "entity" // default
converters {
jackson {
// …
}
gson {
// …
}
}
}
If anyone can think of a simpler way without copying `ContentNegotiation`'s functionality that would be much appreciated 🙂