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: Seq[(String, String)], requestBody: String, responseCode: Int, responseHeader: Seq[(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(recorderName: String = "http-recorder", destUri: String = "localhost", sessionName: String = "default", expirationTime: Option[String] = None, dbFileName: String = "http-records", storageFolder: String = ".airframe/http", recordTableName: String = "record", port: Option[Int] = None, requestMatcher: HttpRequestMatcher = ..., excludeHeaderFilterForRecording: (String, String) ⇒ Boolean = ..., 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

  5. trait HttpRequestMatcher extends AnyRef

    Permalink

    Compute a hash key of the given HTTP request.

    Compute a hash key of the given HTTP request. This value will be used for DB indexes

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
  5. object HttpRequestMatcher

    Permalink

Ungrouped