Skip to content
Permalink
Browse files

Merge pull request #2668 from rossabaker/scheme-scaladoc

Clarify scheme scaladoc
  • Loading branch information...
rossabaker committed Jul 2, 2019
2 parents 5b2735a + 444fcec commit 833c4d240417bd7d7a670b501d335991eabefb19
Showing with 4 additions and 1 deletion.
  1. +4 −1 core/src/main/scala/org/http4s/Uri.scala
@@ -161,9 +161,12 @@ object Uri {
.run()(PbParser.DeliveryScheme.Either)
.leftMap(e => ParseFailure("Invalid request target", e.format(s)))

/** Each [[org.http4s.Uri]] begins with a scheme name that refers to a
/** A [[org.http4s.Uri]] may begin with a scheme name that refers to a
* specification for assigning identifiers within that scheme.
*
* If the scheme is defined, the URI is absolute. If the scheme is
* not defined, the URI is a relative reference.
*
* @see https://www.ietf.org/rfc/rfc3986.txt, Section 3.1
*/
final class Scheme private (val value: String) extends Ordered[Scheme] {

0 comments on commit 833c4d2

Please sign in to comment.
You can’t perform that action at this time.