org.http4s

UriTemplate

case class UriTemplate(scheme: Option[Scheme] = scala.None, authority: Option[Authority] = scala.None, path: Path = immutable.this.Nil, query: UriTemplate.Query = immutable.this.Nil, fragment: Fragment = immutable.this.Nil) extends Product with Serializable

Simple representation of a URI Template that can be rendered as RFC6570 conform string.

This model reflects only a subset of RFC6570.

Level 1 and Level 2 are completely modeled and Level 3 features are limited to:

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UriTemplate
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UriTemplate(scheme: Option[Scheme] = scala.None, authority: Option[Authority] = scala.None, path: Path = immutable.this.Nil, query: UriTemplate.Query = immutable.this.Nil, fragment: Fragment = immutable.this.Nil)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. val authority: Option[Authority]

  8. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  10. def expandAny[T](name: String, value: T)(implicit arg0: QueryParamEncoder[T]): UriTemplate

    Replaces any expansion type that matches the given name.

    Replaces any expansion type that matches the given name. If no matching expansion could be found the same instance will be returned.

  11. def expandFragment[T](name: String, value: T)(implicit arg0: QueryParamEncoder[T]): UriTemplate

    Replaces any expansion type in fragment that matches the given name.

    Replaces any expansion type in fragment that matches the given name. If no matching expansion could be found the same instance will be returned.

  12. def expandPath[T](name: String, value: T)(implicit arg0: QueryParamEncoder[T]): UriTemplate

    Replaces any expansion type in path that matches the given name.

    Replaces any expansion type in path that matches the given name. If no matching expansion could be found the same instance will be returned.

  13. def expandPath[T](name: String, values: List[T])(implicit arg0: QueryParamEncoder[T]): UriTemplate

    Replaces any expansion type in path that matches the given name.

    Replaces any expansion type in path that matches the given name. If no matching expansion could be found the same instance will be returned.

  14. def expandQuery[T](name: String, values: T*)(implicit arg0: QueryParamEncoder[T]): UriTemplate

    Replaces any expansion type in query that matches the specified name.

    Replaces any expansion type in query that matches the specified name. If no matching expansion could be found the same instance will be returned.

  15. def expandQuery(name: String): UriTemplate

    Replaces any expansion type in query that matches the specified name.

    Replaces any expansion type in query that matches the specified name. If no matching expansion could be found the same instance will be returned.

  16. def expandQuery[T](name: String, values: List[T])(implicit arg0: QueryParamEncoder[T]): UriTemplate

    Replaces any expansion type in query that matches the specified name.

    Replaces any expansion type in query that matches the specified name. If no matching expansion could be found the same instance will be returned.

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val fragment: Fragment

  19. final def getClass(): Class[_]

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

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. val path: Path

  25. val query: UriTemplate.Query

  26. val scheme: Option[Scheme]

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. lazy val toString: String

    Definition Classes
    UriTemplate → AnyRef → Any
  29. def toUriIfPossible: Try[Uri]

    If no expansion is available an Uri will be created otherwise the current instance of UriTemplate will be returned.

  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped