Package

org.http4s.rho

bits

Permalink

package bits

Visibility
  1. Public
  2. All

Type Members

  1. class BooleanParser[F[_]] extends StringParser[F, Boolean]

    Permalink
  2. class DateParser[F[_]] extends StringParser[F, Date]

    Permalink
  3. class DoubleParser[F[_]] extends StringParser[F, Double]

    Permalink
  4. abstract class EmptyResponseGenerator[F[_]] extends ResponseGenerator

    Permalink
  5. abstract class EntityResponseGenerator[F[_]] extends ResponseGenerator

    Permalink
  6. final case class FailureResponse[F[_]](reason: ResponseReason[F]) extends ResultResponse[F, Nothing] with Product with Serializable

    Permalink

    Response that signifies an error

    Response that signifies an error

    reason

    The reason for failure which can be turned into a F[Response[F]].

  7. trait FailureResponseOps[F[_]] extends ResponseGeneratorInstances[F]

    Permalink
  8. class FloatParser[F[_]] extends StringParser[F, Float]

    Permalink
  9. trait HListToFunc[F[_], T <: HList, -U] extends AnyRef

    Permalink

    Converter of an value of type F to the HList of type T

    Converter of an value of type F to the HList of type T

    T

    HList type of the incoming values

    U

    type of element onto which T will be mapped

  10. trait HeaderAppendable[F[_], T <: HList] extends AnyRef

    Permalink

    Base trait which is capable of appending header rules

    Base trait which is capable of appending header rules

    T

    The HList representation of the values to be extracted from the Request.

  11. case class HeaderMetaData[T <: Extractable](key: T, default: Boolean) extends Metadata with Product with Serializable

    Permalink

    Metadata about a header rule

  12. class InstantParser[F[_]] extends StringParser[F, Instant]

    Permalink
  13. class IntParser[F[_]] extends StringParser[F, Int]

    Permalink
  14. abstract class LocationResponseGenerator[F[_]] extends ResponseGenerator

    Permalink
  15. class LongParser[F[_]] extends StringParser[F, Long]

    Permalink
  16. trait MatchersHListToFunc[F[_]] extends AnyRef

    Permalink
  17. trait Metadata extends AnyRef

    Permalink

    Base type for data that can be used to decorate the rules trees

    Base type for data that can be used to decorate the rules trees

    Metadata is not directly useful for evaluating a request or for generating HTTP responses; it is primarily used for storing data to auto generate information about a route or service.

  18. trait MethodAliases extends AnyRef

    Permalink
  19. case class NoMatch[F[_]]() extends RouteResult[F, Nothing] with Product with Serializable

    Permalink

    Failure to match a route

  20. case class QueryMetaData[F[_], T](name: String, description: Option[String], p: QueryParser[F, T], default: Option[T], m: scala.reflect.api.JavaUniverse.TypeTag[T]) extends Metadata with Product with Serializable

    Permalink

    Metadata about a query rule

  21. trait QueryParser[F[_], A] extends AnyRef

    Permalink

    Extract a value from the Request Query

    Extract a value from the Request Query

    A

    Type of value produced by the parser.

  22. trait QueryParsers[F[_]] extends FailureResponseOps[F]

    Permalink
  23. sealed trait ResponseGenerator extends AnyRef

    Permalink

    Helpers to aid in the construction of a response function

    Helpers to aid in the construction of a response function

    These helpers provide the foundation for the response generation in the rho DSL. They require the needed codecs and generate a response with the correct meta data.

    { req => Ok("foo!") }
  24. trait ResponseGeneratorInstances[F[_]] extends AnyRef

    Permalink
  25. final class ResponseReason[F[_]] extends AnyRef

    Permalink

    Concrete representation of the FailureResponse

  26. sealed trait ResultInfo extends AnyRef

    Permalink

    Information about the response type

  27. trait ResultMatcher[F[_], -R] extends AnyRef

    Permalink
  28. trait ResultMatcherOps extends AnyRef

    Permalink
  29. sealed trait ResultResponse[F[_], +T] extends RouteResult[F, T]

    Permalink

    Node in the ADT that represents a result, either success or failure

  30. sealed trait RouteResult[F[_], +T] extends AnyRef

    Permalink

    Types that represent the result of executing a step of the route

  31. trait SecurityScopesMetaData extends Metadata

    Permalink

    Security Scope meta data

  32. class ShortParser[F[_]] extends StringParser[F, Short]

    Permalink
  33. case class StatusAndType(status: Status, tpe: scala.reflect.api.JavaUniverse.Type) extends ResultInfo with Product with Serializable

    Permalink
  34. case class StatusOnly(status: Status) extends ResultInfo with Product with Serializable

    Permalink
  35. trait StringParser[F[_], T] extends ResponseGeneratorInstances[F]

    Permalink

    Parse values from a String

    Parse values from a String

    T

    The result type generated by the parser.

  36. final case class SuccessResponse[F[_], +T](result: T) extends ResultResponse[F, T] with Product with Serializable

    Permalink

    Successful response

  37. trait TextMetaData extends Metadata

    Permalink

    Textual meta data

  38. case class TypeOnly(tpe: scala.reflect.api.JavaUniverse.Type) extends ResultInfo with Product with Serializable

    Permalink
  39. final case class TypedHeader[F[_], T <: HList](rule: RequestRule[F]) extends Product with Serializable

    Permalink

    Typed shell for the Header operations of the DSL

  40. final case class TypedQuery[F[_], T <: HList](rule: RequestRule[F]) extends UriConvertible[F] with Product with Serializable

    Permalink

    Typed shell for the Query operations of the DSL

  41. class UUIDParser[F[_]] extends StringParser[F, UUID]

    Permalink

Value Members

  1. object FailureResponse extends Serializable

    Permalink
  2. object FailureResponseOps

    Permalink
  3. object MethodAliases extends MethodAliases

    Permalink
  4. object PathAST

    Permalink

    Actual elements which build up the AST

  5. object PathTree

    Permalink
  6. object QueryParser

    Permalink
  7. object RequestAST

    Permalink

    Rules for extracting non-path related data from the Request

    Rules for extracting non-path related data from the Request

    This AST is subject to change.

  8. object ResultMatcher extends ResultMatcherOps

    Permalink
  9. object StringParser

    Permalink
  10. object TypedQuery extends Serializable

    Permalink
  11. object UriConverter

    Permalink

    Helps to convert different parts of a route into an UriTemplate

Ungrouped