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, sessionName: String = "default", expirationTime: String = "1w", storageFolder: String = "fixtures", dropSessionIfExists: Boolean = true, recordTableName: String = "record", port: Int = 1, headerExcludes: (String) ⇒ Boolean = HttpRecorder.defaultHeaderExclude, fallBackHandler: Service[Request, Response] = HttpRecorder.defaultFallBackHandler) extends Product with Serializable

    Permalink
  4. class HttpRecorderServer extends FinagleServer

    Permalink
  5. class RecordingService extends FinagleService

    Permalink

    An HTTP request filter for recording HTTP responses

  6. class ReplayService extends FinagleService with LogSupport

    Permalink

    An HTTP request filter for returning recorded HTTP responses

Value Members

  1. object HttpRecord extends LogSupport

    Permalink
  2. 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)

Ungrouped