Class/Object

org.http4s

UriTemplate

Related Docs: object UriTemplate | package http4s

Permalink

final case class UriTemplate(scheme: Option[Scheme] = None, authority: Option[Authority] = None, path: Path = Nil, query: UriTemplate.Query = Nil, fragment: Fragment = 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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val authority: Option[Authority]

    Permalink
  6. def clone(): AnyRef

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

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

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink

    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.

  13. def expandQuery(name: String): UriTemplate

    Permalink

    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.

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

    Permalink

    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 finalize(): Unit

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

    Permalink
  17. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val path: Path

    Permalink
  23. val query: UriTemplate.Query

    Permalink
  24. val scheme: Option[Scheme]

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

    Permalink
    Definition Classes
    AnyRef
  26. lazy val toString: String

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

    Permalink

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

  28. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped