scalamachine

core

package core

Visibility
  1. Public
  2. All

Type Members

  1. class AcceptHeaderParser extends JavaTokenParsers

  2. case class AuthFailure(headerValue: String) extends AuthResult with Product with Serializable

  3. sealed trait AuthResult extends AnyRef

  4. case class ContentType(mediaType: String, params: Map[String, String] = ...) extends Product with Serializable

  5. case class ErrorRes(errorBody: HTTPBody) extends Res[Nothing] with Product with Serializable

    Signals the webmachine flow the desire to halt with a 500 Internal Server Error response code with a given response body.

  6. case class FixedLengthBody(bytes: Array[Byte]) extends HTTPBody with Product with Serializable

  7. sealed trait HTTPBody extends AnyRef

  8. sealed trait HTTPHeader extends AnyRef

  9. trait HTTPMethod extends AnyRef

  10. case class HaltRes(code: Int, body: Option[HTTPBody] = scala.None) extends Res[Nothing] with Product with Serializable

    Signals the webmachine flow the desire to halt with a given response code and possibly a response body.

  11. case class MediaInfo(mediaRange: ContentType, qVal: Double, acceptParams: List[(String, String)]) extends Product with Serializable

  12. case class ReqRespData(baseUri: String = "", pathParts: List[String] = immutable.this.Nil, rawPath: String = "", query: Map[String, List[String]] = ..., hostParts: List[String] = immutable.this.Nil, method: HTTPMethod = HTTPMethods.GET, statusCode: Int = 200, requestHeaders: Map[HTTPHeader, String] = ..., responseHeaders: Map[HTTPHeader, String] = ..., requestBody: HTTPBody = HTTPBody.Empty, responseBody: HTTPBody = HTTPBody.Empty, doRedirect: Boolean = false, pathData: PathData = ..., hostData: HostData = ..., metadata: Metadata = ...) extends Product with Serializable

    Represents the request being sent by the client as well as the response built by the resource

  13. sealed trait Res[+A] extends AnyRef

    a Res[A] is returned by ever scalamachine.core.Resource function.

  14. trait ResFunctions extends AnyRef

  15. trait ResInternalInstances extends AnyRef

  16. trait ResOps[A] extends AnyRef

  17. case class ResTransformer[M[_], A](run: M[Res[A]]) extends Product with Serializable

  18. trait ResTransformerFunctions extends AnyRef

  19. trait ResTransformerInstances extends AnyRef

  20. trait Resource extends AnyRef

    Resources represent HTTP resources in an application's API.

  21. case class ValueRes[+A](value: A) extends Res[A] with Product with Serializable

    The existence of a value, similar to Some.

Value Members

  1. object AuthSuccess extends AuthResult with Product with Serializable

  2. object ContentType extends Serializable

  3. object EmptyRes extends Res[Nothing] with Product with Serializable

    Signals the webmachine flow the desire to halt, returning the response without modifying the existing response data in any way.

  4. object FixedLengthBody extends Serializable

  5. object HTTPBody

  6. object HTTPHeader

  7. object HTTPHeaders

  8. object HTTPMethod

  9. object HTTPMethods

  10. object LazyStreamBody

  11. object ReqRespData extends Serializable

  12. object Res extends ResFunctions with ResInternalInstances

  13. object ResTransformer extends ResTransformerFunctions with ResTransformerInstances with Serializable

  14. object Resource

  15. object Util

  16. package dispatch

  17. package flow

  18. package v3

Ungrouped