Packages

class InMemoryHttpService extends Service[Request, Response]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryHttpService
  2. Service
  3. Closable
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InMemoryHttpService()

Type Members

  1. case class RequestKey(method: Method, path: String) extends Product with Serializable
  2. case class ResponseWithExpectedBody(response: Response, expectedBody: Option[String], sticky: Boolean) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Future[Response]) => A): (Request) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(request: Request): Future[Response]
    Definition Classes
    InMemoryHttpService → Service → Function1
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clear(): Unit
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def close(deadline: Time): Future[Unit]
    Definition Classes
    Service → Closable
  10. def close(after: Duration): Future[Unit]
    Definition Classes
    Closable
  11. final def close(): Future[Unit]
    Definition Classes
    Closable
  12. def compose[A](g: (A) => Request): (A) => Future[Response]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isAvailable: Boolean
    Definition Classes
    Service
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def map[Req1](f: (Req1) => Request): Service[Req1, Response]
    Definition Classes
    Service
  21. def mock(method: Method, path: String, andReturn: Response, sticky: Boolean, withBody: Option[String] = None): Unit
  22. def mockGet(path: String, andReturn: Response, sticky: Boolean = false): Unit
  23. def mockPost(path: String, withBody: String = null, andReturn: Response, sticky: Boolean = false): Unit
  24. def mockPut(path: String, withBody: String = null, andReturn: Response, sticky: Boolean = false): Unit
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. var overrideResponse: Option[Response]
  29. def printRequests(): Unit
  30. val recordedRequests: ArrayBuffer[Request]
  31. def status: Status
    Definition Classes
    Service
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    Service → Function1 → AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def reset(): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2020-07-22) Use clear()

Inherited from Service[Request, Response]

Inherited from Closable

Inherited from (Request) => Future[Response]

Inherited from AnyRef

Inherited from Any

Ungrouped