io.fintrospect.formats.Html.scala Maven / Gradle / Ivy
package io.fintrospect.formats
import io.fintrospect.ContentTypes
/**
* Native (string-based) HTML support (text/html content type)
*/
object Html {
case class $ private[Html](value: String)
object ResponseBuilder extends AbstractResponseBuilder[$] {
def HttpResponse(): ResponseBuilder[$] = new ResponseBuilder[$](_.value, $, e => $(e.getMessage), ContentTypes.TEXT_HTML)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy