Packages

package http

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AcceptHeader(value: String) extends SpecificHeader with Product with Serializable
  2. final case class Body(s: String) extends AnyVal with Product with Serializable
  3. case class ContentType(value: String) extends SpecificHeader with Product with Serializable
  4. case class Domain(protocol: Protocol, host: HostName, port: Port) extends Product with Serializable
  5. trait EndpointPath[T] extends (ServiceResponse) => Option[T]
  6. trait Failer[Fail] extends ResponseParserFailer[Fail] with SimpleFailer[Fail]
  7. trait FromEditXingYi[Req, Dom <: script.Domain, Res] extends AnyRef
  8. trait FromServiceRequest[M[_], T] extends (ServiceRequest) => M[T]
    Annotations
    @implicitNotFound("Missing FromServiceRequest[${T}]This is how we create a query/request (${T}) from an external clients HTTP request. It is isolated from exactly which webframework we are using.")
  9. trait FromServiceResponse[T] extends (ServiceResponse) => T
    Annotations
    @implicitNotFound("Missing FromServiceResponse[${T}] This creates a(${T}) from a service response returned by a client call. The simplest way to implement this is to have the domain object companion extend DomainCompanionObject and have a 'FromJson[${T}]' in the scope. This allows all decisions about which JSON library we are using to be dealt with outside the main business logic")
  10. trait FromXingYi[Req, Res] extends (IXingYi) => (Req) => (String) => Res
  11. trait Header extends AnyRef
  12. case class HostName(host: String) extends UriFragment with Product with Serializable
  13. trait HttpFactory[M[_], HttpReq, HttpRes] extends (ServiceName) => (HttpReq) => M[HttpRes]
  14. trait HttpKlesili[M[_]] extends AnyRef
  15. sealed trait Method extends AnyRef
  16. case class Path(path: String) extends UriFragment with Product with Serializable
  17. case class Port(port: Int) extends UriFragment with Product with Serializable
  18. case class Protocol(protocol: String) extends UriFragment with Product with Serializable
  19. class ProtocolException extends Exception
  20. case class ProtocolHostAndPort(protocol: Protocol, hostName: HostName, port: Port) extends Product with Serializable
  21. case class QueryParam(name: QueryParamName, value: QueryParamValue) extends UriFragment with Product with Serializable
  22. class QueryParamException extends Exception
  23. case class QueryParamName(name: String) extends UriFragment with Product with Serializable
  24. case class QueryParamValue(value: String) extends UriFragment with Product with Serializable
  25. case class RequestAndServiceResponse[Req](req: Req, serviceResponse: ServiceResponse) extends Product with Serializable
  26. trait ResponseCategoriser[Req] extends AnyRef
  27. trait ResponseParser[Req, Res] extends AnyRef
  28. trait ResponseParserFailer[Fail] extends AnyRef
  29. final case class ServiceName(name: String) extends AnyVal with Product with Serializable
  30. case class ServiceRequest(method: Method, domain: Option[Domain], path: Path, params: Seq[QueryParam], headers: Seq[Header], body: Option[Body]) extends Product with Serializable
  31. case class ServiceResponse(status: Status, body: Body, headers: List[Header]) extends Product with Serializable
  32. trait SimpleFailer[Fail] extends AnyRef
  33. case class SimpleHeader(name: String, value: String) extends Header with Product with Serializable
  34. abstract class SpecificHeader extends Header
  35. final case class Status(code: Int) extends AnyVal with Product with Serializable
  36. trait ToServiceRequest[T] extends (T) => ServiceRequest
    Annotations
    @implicitNotFound("""Missing ToServiceRequest[${T}] This is how we turn a query/request object (${T}) into a HTTP request. If ${T} is a http request have """)
  37. trait ToServiceResponse[Req, T] extends (Req) => (T) => ServiceResponse
    Annotations
    @implicitNotFound("""Missing ToServiceResponse[${T}] This turns ${T} into a service response so that it can be shown to the user. The simplest way to implement this is to have a 'ToJson[${T}]' in the scope.
    To debug this you can have the following code
    val x = implicitly[ToJson[${T}]]
    val y = implicitly[ToServiceResponse]

    """
    )
  38. case class Uri(domain: Option[Domain], path: Path, params: QueryParam*) extends UriFragment with Product with Serializable
  39. trait UriFragment extends AnyRef

Value Members

  1. case object Delete extends Method with Product with Serializable
  2. object Failer
  3. object FromServiceRequest
  4. object FromServiceResponse extends JsonWriterLanguage
  5. case object Get extends Method with Product with Serializable
  6. case object Head extends Method with Product with Serializable
  7. object Header extends JsonWriterLanguage
  8. object Headers
  9. object HttpFactory
  10. object Method
  11. case object Options extends Method with Product with Serializable
  12. case object Post extends Method with Product with Serializable
  13. case object Put extends Method with Product with Serializable
  14. object QueryParam extends Serializable
  15. object ResponseCategoriser
  16. object ResponseParser
  17. object ServiceRequest extends Serializable
  18. object ServiceResponse extends JsonWriterLanguage with Serializable
  19. object Status extends Serializable
  20. object ToServiceRequest
  21. object ToServiceResponse
  22. object Uri extends Serializable

Ungrouped