Object/Class

org.http4s

UriTemplate

Related Docs: class UriTemplate | package http4s

Permalink

object UriTemplate extends Serializable

Source
UriTemplate.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UriTemplate
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait ExpansionType extends AnyRef

    Permalink

    URI Templates are similar to a macro language with a fixed set of macro definitions: the expression type determines the expansion process.

    URI Templates are similar to a macro language with a fixed set of macro definitions: the expression type determines the expansion process.

    The default expression type is simple string expansion (Level 1), wherein a single named variable is replaced by its value as a string after pct-encoding any characters not in the set of unreserved URI characters (Section 1.5).

    Level 2 templates add the plus ("+") operator, for expansion of values that are allowed to include reserved URI characters (Section 1.5), and the crosshatch ("#") operator for expansion of fragment identifiers.

    Level 3 templates allow multiple variables per expression, each separated by a comma, and add more complex operators for dot-prefixed labels, slash-prefixed path segments, semicolon-prefixed path parameters, and the form-style construction of a query syntax consisting of name=value pairs that are separated by an ampersand character.

  2. type Fragment = List[FragmentDef]

    Permalink
  3. sealed trait FragmentDef extends AnyRef

    Permalink
  4. final case class FragmentElm(value: String) extends FragmentDef with Product with Serializable

    Permalink

    Static fragment element

  5. final case class MultiFragmentExp(names: List[String]) extends FragmentDef with Product with Serializable

    Permalink

    Fragment expansion with multiple variables, crosshatch-prefixed (Section 3.2.4)

    Fragment expansion with multiple variables, crosshatch-prefixed (Section 3.2.4)

  6. final case class ParamContExp(names: List[String]) extends QueryExp with Product with Serializable

    Permalink

    Form-style query continuation (Section 3.2.9)

    Form-style query continuation (Section 3.2.9)

  7. final case class ParamElm(name: String, values: List[String]) extends QueryDef with Product with Serializable

    Permalink

    Static query parameter element

  8. final case class ParamExp(names: List[String]) extends QueryExp with Product with Serializable

    Permalink

    Form-style query, ampersand-separated (Section 3.2.8)

    Form-style query, ampersand-separated (Section 3.2.8)

  9. final case class ParamReservedExp(name: String, variables: List[String]) extends QueryDef with Product with Serializable

    Permalink

    Reserved string expansion for query parameter

  10. final case class ParamVarExp(name: String, variables: List[String]) extends QueryDef with Product with Serializable

    Permalink

    Simple string expansion for query parameter

  11. type Path = List[PathDef]

    Permalink
  12. sealed trait PathDef extends AnyRef

    Permalink
  13. final case class PathElm(value: String) extends PathDef with Product with Serializable

    Permalink

    Static path element

  14. final case class PathExp(names: List[String]) extends PathDef with Product with Serializable

    Permalink

    Path segments, slash-prefixed (Section 3.2.6)

    Path segments, slash-prefixed (Section 3.2.6)

  15. type Query = List[QueryDef]

    Permalink
  16. sealed trait QueryDef extends AnyRef

    Permalink
  17. sealed trait QueryExp extends QueryDef

    Permalink
  18. final case class ReservedExp(names: List[String]) extends PathDef with Product with Serializable

    Permalink

    Level 2 allows reserved string expansion (Section 3.2.3)

    Level 2 allows reserved string expansion (Section 3.2.3)

    Level 3 allows reserved expansion with multiple variables (Section 3.2.3)

  19. final case class SimpleFragmentExp(name: String) extends FragmentDef with Product with Serializable

    Permalink

    Fragment expansion, crosshatch-prefixed (Section 3.2.4)

    Fragment expansion, crosshatch-prefixed (Section 3.2.4)

  20. final case class VarExp(names: List[String]) extends PathDef with Product with Serializable

    Permalink

    Level 1 allows string expansion (Section 3.2.2)

    Level 1 allows string expansion (Section 3.2.2)

    Level 3 allows string expansion with multiple variables (Section 3.2.2)

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object MultiFragmentExp extends Serializable

    Permalink
  5. object ParamContExp extends Serializable

    Permalink
  6. object ParamElm extends Serializable

    Permalink
  7. object ParamExp extends Serializable

    Permalink
  8. object ParamReservedExp extends Serializable

    Permalink
  9. object ParamVarExp extends Serializable

    Permalink
  10. object PathExp extends Serializable

    Permalink
  11. object ReservedExp extends Serializable

    Permalink
  12. object VarExp extends Serializable

    Permalink
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def buildQuery(q: Query): http4s.Query

    Permalink
    Attributes
    protected
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def containsExpansions(t: UriTemplate): Boolean

    Permalink
    Attributes
    protected
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def expandFragmentN(fragment: Fragment, name: String, value: String): Fragment

    Permalink
    Attributes
    protected
  20. def expandPathN(path: Path, name: String, values: List[QueryParameterValue]): Path

    Permalink
    Attributes
    protected
  21. def expandQueryN(query: Query, name: String, values: List[String]): Query

    Permalink
    Attributes
    protected
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def fragmentExp(f: FragmentDef): Boolean

    Permalink
    Attributes
    protected
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isUnreserved(s: String): Boolean

    Permalink
  28. def isUnreservedOrEncoded(s: String): Boolean

    Permalink
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def pathExp(p: PathDef): Boolean

    Permalink
    Attributes
    protected
  33. def queryExp(q: QueryDef): Boolean

    Permalink
    Attributes
    protected
  34. def renderAuthority(a: Authority): String

    Permalink
    Attributes
    protected
  35. def renderFragment(f: Fragment): String

    Permalink
    Attributes
    protected
  36. def renderFragmentIdentifier(f: Fragment): String

    Permalink
    Attributes
    protected
  37. def renderHost(h: Host): String

    Permalink
    Attributes
    protected
  38. def renderPath(p: Path): String

    Permalink
    Attributes
    protected
  39. def renderPathAndQueryAndFragment(t: UriTemplate): String

    Permalink
    Attributes
    protected
  40. def renderQuery(ps: Query): String

    Permalink
    Attributes
    protected
  41. def renderScheme(s: Scheme): String

    Permalink
    Attributes
    protected
  42. def renderSchemeAndAuthority(t: UriTemplate): String

    Permalink
    Attributes
    protected
  43. def renderUriTemplate(t: UriTemplate): String

    Permalink
    Attributes
    protected
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. def toUri(t: UriTemplate): Uri

    Permalink
    Attributes
    protected
  47. val unreserved: Set[Char]

    Permalink
    Attributes
    protected
  48. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped