Package

wvlet.airframe.http

recorder

Permalink

package recorder

Visibility
  1. Public
  2. All

Type Members

  1. case class HttpRecord(session: String, requestHash: Int, method: String, destHost: String, path: String, requestHeader: Map[String, String], requestBody: String, responseCode: Int, responseHeader: Map[String, String], responseBody: String, createdAt: Instant) extends Product with Serializable

    Permalink

    HTTP response record that will be stored to the database

  2. class HttpRecordStore extends AutoCloseable with LogSupport

    Permalink

    Recorder for HTTP server responses

  3. case class HttpRecorderConfig(destUri: String = "localhost", sessionName: String = "default", expirationTime: String = "1w", storageFolder: String = "fixtures", recordTableName: String = "record", port: Int = 1, excludeHeaderPrefixes: Seq[String] = ..., fallBackHandler: Service[Request, Response] = HttpRecorder.defaultFallBackHandler) extends Product with Serializable

    Permalink
  4. class HttpRecorderServer extends FinagleServer

    Permalink

    A FinagleServer wrapper to close HttpRecordStore when the server terminates

Value Members

  1. object HttpRecord extends LogSupport

    Permalink
  2. object HttpRecordStore extends Serializable

    Permalink
  3. object HttpRecorder extends LogSupport

    Permalink

    Creates a proxy server for recording and replaying HTTP responses.

    Creates a proxy server for recording and replaying HTTP responses. This is useful for simulate the behavior of Web services, that are usually too heavy to use in an restricted environment (e.g., CI servers)

  4. object HttpRecorderServer extends Serializable

    Permalink

Ungrouped