Package

sc.ala.http

mock

Permalink

package mock

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. mock
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class AccessLog(request: RequestHeader, bodyOpt: Option[ArrayByte] = None) extends Product with Serializable

    Permalink
  2. final case class AccessLogQueue(queue: ConcurrentLinkedQueue[AccessLog] = ...) extends Product with Serializable

    Permalink
  3. case class AllLogExpectationBuilder(methodOpt: Option[HttpMethod], headers: Headers = Headers(), bodies: Set[ArrayByte], queue: AccessLogQueue) extends Product with Serializable

    Permalink
  4. final case class ArrayByte(value: ByteString) extends Product with Serializable

    Permalink

    almost same as Array[Byte], but this allows easy equality

  5. final case class EachLogExpectationBuilder(methodOpt: Option[HttpMethod], headers: Headers = Headers(), bodyOpt: Option[ArrayByte] = None, count: Int = 1, queue: AccessLogQueue) extends Product with Serializable

    Permalink
  6. final class Expectation extends AnyRef

    Permalink
  7. sealed abstract class HttpMethod extends Product with Serializable

    Permalink
  8. trait HttpMock extends AnyRef

    Permalink
  9. case class HttpMockDown(setting: Setting, port: Int) extends HttpMock with Product with Serializable

    Permalink
  10. case class HttpMockUp(setting: Setting, netty: NettyServer) extends HttpMock with Product with Serializable

    Permalink
  11. final case class Setting(port: Int = 0, methods: Set[HttpMethod] = implementedMethods, handler: PartialFunction[RequestHeader, Result] = PartialFunction.empty) extends Product with Serializable

    Permalink

Value Members

  1. object ArrayByte extends (ByteString) ⇒ ArrayByte with Serializable

    Permalink
  2. object DELETE extends HttpMethod with Product with Serializable

    Permalink
  3. object GET extends HttpMethod with Product with Serializable

    Permalink
  4. object HEAD extends HttpMethod with Product with Serializable

    Permalink
  5. object HttpMock

    Permalink
  6. object OPTIONS extends HttpMethod with Product with Serializable

    Permalink
  7. object PATCH extends HttpMethod with Product with Serializable

    Permalink
  8. object POST extends HttpMethod with Product with Serializable

    Permalink
  9. object PUT extends HttpMethod with Product with Serializable

    Permalink
  10. object Setting extends Serializable

    Permalink
  11. def now(): Long

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped