MaybeFragment

final case class MaybeFragment(value: Option[String]) extends AnyVal

Wrapper around the raw fragment part of the URL.

Wrapper around the raw fragment part of the URL.

None when the URL does not contain any fragment.

trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def isEmpty: Boolean
def nonEmpty: Boolean
def representation: String

Prepend the hashtag symbol if the fragment is present, otherwise returns the empty string.

Prepend the hashtag symbol if the fragment is present, otherwise returns the empty string.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product