Object

wvlet.airframe.http.recorder

HttpRecorder

Related Doc: package recorder

Permalink

object HttpRecorder extends LogSupport

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)

Linear Supertypes
LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpRecorder
  2. LogSupport
  3. LazyLogger
  4. LoggingMethods
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def config: HttpRecorderConfig

    Permalink
  7. def createInMemoryProgrammableServer: HttpRecorderServer

    Permalink

    Create an in-memory programmable server, whose recorded response will be discarded after closing the server.

    Create an in-memory programmable server, whose recorded response will be discarded after closing the server. This is useful for debugging HTTP clients.

  8. def createInMemoryServer(recorderConfig: HttpRecorderConfig): HttpRecorderServer

    Permalink

    Create an in-memory programmable server, whose recorded response will be discarded after closing the server.

    Create an in-memory programmable server, whose recorded response will be discarded after closing the server. This is useful for debugging HTTP clients

  9. def createProgrammableServer(recorderConfig: HttpRecorderConfig): HttpRecorderServer

    Permalink

    Creates an HTTP server that returns programmed HTTP responses.

    Creates an HTTP server that returns programmed HTTP responses. If no matching record is found, use the given fallback handler.

  10. def createRecordOnlyServer(recorderConfig: HttpRecorderConfig, dropExistingSession: Boolean = true): HttpRecorderServer

    Permalink

    Creates an HTTP server that will record HTTP responses.

  11. def createRecorderProxy(recorderConfig: HttpRecorderConfig, dropExistingSession: Boolean = false): HttpRecorderServer

    Permalink

    Creates an HTTP proxy server that will return recorded responses.

    Creates an HTTP proxy server that will return recorded responses. If no record is found, it will actually send the request to the destination server and record the response.

  12. def createReplayOnlyServer(recorderConfig: HttpRecorderConfig): FinagleServer

    Permalink

    Creates an HTTP server that returns only recorded HTTP responses.

    Creates an HTTP server that returns only recorded HTTP responses. If no matching record is found, use the given fallback handler.

  13. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. def defaultExcludeHeaderFilterForRecording: (String, String) ⇒ Boolean

    Permalink
  16. def defaultFallBackHandler: Service[Request, Response]

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  24. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  27. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  39. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped