object Fragment
- Companion
- class
class Object
trait Matchable
class Any
Value members
Concrete methods
def factory[T, E](extractor: MaybeFragment => Either[E, T], generator: T => MaybeFragment): Fragment[T, E]
def fragment[T, A](fromString: FromString[T, A], printer: Printer[T], fragmentMatchingError: FragmentMatchingError[A]): Fragment[T, A]
Creates a fragment matching any element of type T
, as long as the urldsl.vocabulary.FromString can
de-serialize it.
Creates a fragment matching any element of type T
, as long as the urldsl.vocabulary.FromString can
de-serialize it.
If the fragment is missing, returns an error.
final def maybeFragment[T, A](fromString: FromString[T, A], printer: Printer[T], fragmentMatchingError: FragmentMatchingError[A]): Fragment[Option[T], A]
Creates a fragment matching any element of type T
, as long as the urldsl.vocabulary.FromString can
de-serialize it.
Creates a fragment matching any element of type T
, as long as the urldsl.vocabulary.FromString can
de-serialize it.
If the fragment is missing, returns None.
Concrete fields
Implicits
Implicits
implicit def asFragment[T, A](t: T)(fromString: FromString[T, A], printer: Printer[T], fragmentMatchingError: FragmentMatchingError[A], classTag: ClassTag[T]): Fragment[Unit, A]