org.http4s.rho

QueryBuilder

case class QueryBuilder[T <: HList](method: Method, path: PathRule, query: QueryRule) extends RouteExecutable[T] with HeaderAppendable[T] with UriConvertible with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, HeaderAppendable[T], RouteExecutable[T], TypedBuilder[T], UriConvertible, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueryBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HeaderAppendable
  7. RouteExecutable
  8. TypedBuilder
  9. UriConvertible
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryBuilder(method: Method, path: PathRule, query: QueryRule)

Type Members

  1. type Self = QueryBuilder[T]

    Definition Classes
    QueryBuilderHeaderAppendable

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def &[T1 <: HList](q: TypedQuery[T1])(implicit prep: Prepend[T1, T]): QueryBuilder[Out]

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def >>>[T1 <: HList](v: TypedHeader[T1])(implicit prep1: Prepend[T1, T]): Router[Out]

    Append the header to the builder, generating a new typed representation of the route

    Append the header to the builder, generating a new typed representation of the route

    Definition Classes
    QueryBuilderHeaderAppendable
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asUri: Try[Uri]

    Converts a route into an Uri.

    Converts a route into an Uri.

    If the conversion fails None is returned. In case your route has multiple paths only one way will be resolved as instance of Uri. If the route is a URI Template but not an URI None will be returned.

    Definition Classes
    UriConvertible
  8. val asUriTemplate: Try[UriTemplate]

    Converts a route into an UriTemplate.

    Converts a route into an UriTemplate.

    If the conversion fails None is returned. In case your route has multiple paths only one way will be resolved as instance of UriTemplate.

    Definition Classes
    QueryBuilderTypedBuilderUriConvertible
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. def headers: HeaderRule

    Untyped AST representation of the Headers to operate on

    Untyped AST representation of the Headers to operate on

    Definition Classes
    QueryBuilderTypedBuilder
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def makeAction[F](f: F, hf: HListToFunc[T, F]): RhoAction[T, F]

    Create a RhoAction from this RouteExecutable with the provided converters

    Create a RhoAction from this RouteExecutable with the provided converters

    Definition Classes
    QueryBuilderRouteExecutable
  16. val method: Method

    Method of the incoming HTTP Request

    Method of the incoming HTTP Request

    Definition Classes
    QueryBuilderRouteExecutable
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val path: PathRule

    Untyped AST representation of the path to operate on

    Untyped AST representation of the path to operate on

    Definition Classes
    QueryBuilderTypedBuilder
  21. val query: QueryRule

    Untyped AST representation of the query to operate on

    Untyped AST representation of the query to operate on

    Definition Classes
    QueryBuilderTypedBuilder
  22. final def runWith[F, O](f: F)(implicit hf: HListToFunc[T, F]): (Request) ⇒ Option[Task[Response]]

    Provide an action from which to generate a complete route

    Provide an action from which to generate a complete route

    F

    the type of f

    O

    the type of the result generated by f

    f

    "function" used to in compiling the route

    hf

    converter used to join the HList generated by the route to the function f

    returns

    a function Request => Option[Task[Response]] which can be used as a complete route

    Definition Classes
    RouteExecutable
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def |>>[F, R](f: F)(implicit hf: HListToFunc[T, F], srvc: CompileService[F, R]): R

    Compiles a HTTP request definition into an action

    Compiles a HTTP request definition into an action

    Definition Classes
    RouteExecutable

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HeaderAppendable[T]

Inherited from RouteExecutable[T]

Inherited from TypedBuilder[T]

Inherited from UriConvertible

Inherited from AnyRef

Inherited from Any

Ungrouped