Class/Object

com.twitter.finatra.httpclient.test

InMemoryHttpService

Related Docs: object InMemoryHttpService | package test

Permalink

class InMemoryHttpService extends Service[Request, Response] with Resettable with Logging

Linear Supertypes
Logging, Logging, Resettable, Service[Request, Response], Closable, (Request) ⇒ Future[Response], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryHttpService
  2. Logging
  3. Logging
  4. Resettable
  5. Service
  6. Closable
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InMemoryHttpService()

    Permalink

Type Members

  1. case class RequestKey(method: Method, path: String) extends Product with Serializable

    Permalink
  2. case class ResponseWithExpectedBody(response: Response, expectedBody: Option[String], sticky: Boolean) extends Product with Serializable

    Permalink

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. def andThen[A](g: (Future[Response]) ⇒ A): (Request) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(request: Request): Future[Response]

    Permalink
    Definition Classes
    InMemoryHttpService → Service → Function1
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(deadline: Time): Future[Unit]

    Permalink
    Definition Classes
    Service → Closable
  9. def close(after: Duration): Future[Unit]

    Permalink
    Definition Classes
    Closable
  10. final def close(): Future[Unit]

    Permalink
    Definition Classes
    Closable
  11. def compose[A](g: (A) ⇒ Request): (A) ⇒ Future[Response]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  13. def debug(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  14. def debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. def debugResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def error(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. def errorResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def info(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def infoResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. final def isAvailable: Boolean

    Permalink
    Definition Classes
    Service
  28. def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def isErrorEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def isWarnEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging → Logging
  35. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def map[Req1](f: (Req1) ⇒ Request): Service[Req1, Response]

    Permalink
    Definition Classes
    Service
  37. def mock(method: Method, path: String, andReturn: Response, sticky: Boolean, withBody: Option[String] = None): Unit

    Permalink
  38. def mockGet(path: String, andReturn: Response, sticky: Boolean = false): Unit

    Permalink
  39. def mockPost(path: String, withBody: String = null, andReturn: Response, sticky: Boolean = false): Unit

    Permalink
  40. def mockPut(path: String, withBody: String = null, andReturn: Response, sticky: Boolean = false): Unit

    Permalink
  41. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. var overrideResponse: Option[Response]

    Permalink
  45. def printRequests(): Unit

    Permalink
  46. val recordedRequests: ArrayBuffer[Request]

    Permalink
  47. def reset(): Unit

    Permalink
    Definition Classes
    InMemoryHttpService → Resettable
  48. def status: Status

    Permalink
    Definition Classes
    Service
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. def time[T](formatStr: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  51. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  52. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  53. def trace(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  54. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  58. def warn(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  59. def warnResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from Logging

Inherited from Resettable

Inherited from Service[Request, Response]

Inherited from Closable

Inherited from (Request) ⇒ Future[Response]

Inherited from AnyRef

Inherited from Any

Ungrouped