All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.cyberagent.aeromock.server.http.dto.scala Maven / Gradle / Ivy

There is a newer version: 0.2.5
Show newest version
package jp.co.cyberagent.aeromock.server.http

import io.netty.handler.codec.http.HttpResponseStatus

case class RenderResult[A](content: A, response: Option[CustomResponse], debug: Boolean)

case class CustomResponse(code: Int, headers: Map[String, String]) {
  def getResponseStatus: HttpResponseStatus = HttpResponseStatus.valueOf(code)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy