class FlashMap extends MutableMapWithIndifferentAccess[Any] with Serializable
A FlashMap is the data structure used by org.scalatra.FlashMapSupport to allow passing temporary values between sequential actions.
FlashMap behaves like org.scalatra.util.MapWithIndifferentAccess. By default, anything placed in the map is available to the current request and next request, and is then discarded.
- See also
FlashMapSupport
- Alphabetic
- By Inheritance
- FlashMap
- Serializable
- Serializable
- MutableMapWithIndifferentAccess
- Map
- MapLike
- Cloneable
- Cloneable
- Cloneable
- Shrinkable
- Builder
- Growable
- Clearable
- Iterable
- Traversable
- Mutable
- MapWithIndifferentAccess
- Map
- MapLike
- Subtractable
- PartialFunction
- Function1
- GenMap
- GenMapLike
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new FlashMap()
Type Members
-
class
DefaultKeySet extends AbstractSet[K] with Set[K] with Serializable
- Attributes
- protected
- Definition Classes
- MapLike
-
class
DefaultValuesIterable extends AbstractIterable[V] with Iterable[V] with Serializable
- Attributes
- protected
- Definition Classes
- MapLike
-
class
FilteredKeys extends AbstractMap[K, V] with DefaultMap[K, V]
- Attributes
- protected
- Definition Classes
- MapLike
-
class
MappedValues[W] extends AbstractMap[K, W] with DefaultMap[K, W]
- Attributes
- protected
- Definition Classes
- MapLike
-
type
Self = Map[String, Any]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+[V1 >: Any](elem1: (String, V1), elem2: (String, V1), elems: (String, V1)*): Map[String, V1]
- Definition Classes
- MapLike → MapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new map. Use+=
to add an element to this map and return that map itself.
-
def
+[V1 >: Any](kv: (String, V1)): Map[String, V1]
- Definition Classes
- MapLike → MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new map. Use+=
to add an element to this map and return that map itself.
-
def
++[V1 >: Any](xs: GenTraversableOnce[(String, V1)]): Map[String, V1]
- Definition Classes
- MapLike → MapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new map. Use++=
to add an element to this map and return that map itself.
-
def
++[B >: (String, Any), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: (String, Any), That](that: Traversable[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: (String, Any), That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: TraversableOnce[(String, Any)]): FlashMap.this.type
- Definition Classes
- Growable
-
def
+=(kv: (String, Any)): FlashMap.this.type
Adds an entry to the flash map.
Adds an entry to the flash map. Clears the sweep flag for the key.
- Definition Classes
- FlashMap → MapLike → Builder → Growable
-
def
+=(elem1: (String, Any), elem2: (String, Any), elems: (String, Any)*): FlashMap.this.type
- Definition Classes
- Growable
-
def
-(elem1: String, elem2: String, elems: String*): Map[String, Any]
- Definition Classes
- MapLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new map. Use-=
to remove an element from this map and return that map itself.
-
def
-(key: String): Map[String, Any]
- Definition Classes
- MapLike → MapLike → Subtractable → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new map. Use-=
to remove an element from this map and return that map itself.
-
def
--(xs: GenTraversableOnce[String]): Map[String, Any]
- Definition Classes
- MapLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new map. Use--=
to remove an element from this map and return that map itself.
-
def
--=(xs: TraversableOnce[String]): FlashMap.this.type
- Definition Classes
- Shrinkable
-
def
-=(key: String): FlashMap.this.type
Removes an entry from the flash map.
Removes an entry from the flash map. It is no longer available for this request or the next.
- Definition Classes
- FlashMap → MapLike → Shrinkable
-
def
-=(elem1: String, elem2: String, elems: String*): FlashMap.this.type
- Definition Classes
- Shrinkable
-
def
/:[B](z: B)(op: (B, (String, Any)) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:\[B](z: B)(op: ((String, Any), B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- MapLike → TraversableOnce
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, (String, Any)) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (Any) ⇒ C): PartialFunction[String, C]
- Definition Classes
- PartialFunction → Function1
-
def
apply(key: Symbol): Any
- Definition Classes
- MapWithIndifferentAccess
-
def
apply(key: String): Any
- Definition Classes
- MapLike → GenMapLike → Function1
-
def
applyOrElse[K1 <: String, V1 >: Any](x: K1, default: (K1) ⇒ V1): V1
- Definition Classes
- MapLike → PartialFunction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- MapLike → Builder → Growable → Clearable
-
def
clone(): Map[String, Any]
- Definition Classes
- MapLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[(String, Any), B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[(String, Any), B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
companion: GenericCompanion[Iterable]
- Definition Classes
- Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ String): (A) ⇒ Any
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains(key: String): Boolean
- Definition Classes
- MapLike → GenMapLike
-
def
copyToArray[B >: (String, Any)](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (String, Any)](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (String, Any)](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: (String, Any)](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
count(p: ((String, Any)) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
default(key: String): Any
- Definition Classes
- MapLike → GenMapLike
-
def
drop(n: Int): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Map[String, Any]
- Definition Classes
- IterableLike
-
def
dropWhile(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
empty: Map[String, Any]
- Definition Classes
- Map → Map → MapLike
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- GenMapLike → Equals → AnyRef → Any
-
def
exists(p: ((String, Any)) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterKeys(p: (String) ⇒ Boolean): Map[String, Any]
- Definition Classes
- MapLike → GenMapLike
-
def
filterNot(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- MapLike → TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: ((String, Any)) ⇒ Boolean): Option[(String, Any)]
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flag(): Unit
Flags all current keys so the entire map is cleared on the next sweep.
-
def
flatMap[B, That](f: ((String, Any)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: ((String, Any)) ⇒ GenTraversableOnce[B]): Iterable[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: (String, Any)](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, (String, Any)) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: ((String, Any), B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: ((String, Any)) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: ((String, Any)) ⇒ U): Unit
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, Iterable[B]]
- Definition Classes
- GenericTraversableTemplate
-
def
get(key: String): Option[Any]
Returns the value associated with a key and flags it to be swept.
Returns the value associated with a key and flags it to be swept.
- Definition Classes
- FlashMap → MapLike → GenMapLike
-
def
get(key: Symbol): Option[Any]
- Definition Classes
- MapWithIndifferentAccess
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getOrElse[B1 >: Any](key: Symbol, default: ⇒ B1): B1
- Definition Classes
- MapWithIndifferentAccess
-
def
getOrElse[V1 >: Any](key: String, default: ⇒ V1): V1
- Definition Classes
- MapLike → GenMapLike
-
def
getOrElseUpdate(key: String, op: ⇒ Any): Any
- Definition Classes
- MapLike
-
def
groupBy[K](f: ((String, Any)) ⇒ K): Map[K, Map[String, Any]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- GenMapLike → AnyRef → Any
-
def
head: (String, Any)
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[(String, Any)]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
init: Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: Iterator[Map[String, Any]]
- Definition Classes
- TraversableLike
-
def
isDefinedAt(key: String): Boolean
- Definition Classes
- MapLike → GenMapLike → PartialFunction
-
def
isEmpty: Boolean
- Definition Classes
- MapLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: Iterator[(String, Any)]
Creates a new iterator over the values of the flash map.
Creates a new iterator over the values of the flash map. These are the values that were added during the last request.
- Definition Classes
- FlashMap → MapLike → IterableLike → GenIterableLike
-
def
keep(key: String): Unit
Clears the flag for the specified key so its entry is not removed on the next sweep.
-
def
keep(): Unit
Clears all flags so no entries are removed on the next sweep.
-
def
keySet: Set[String]
- Definition Classes
- MapLike → GenMapLike
-
def
keys: Iterable[String]
- Definition Classes
- MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
keys
returnsIterable[K]
rather thanIterator[K]
.
-
def
keysIterator: Iterator[String]
- Definition Classes
- MapLike → GenMapLike
-
def
last: (String, Any)
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastOption: Option[(String, Any)]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lift: (String) ⇒ Option[Any]
- Definition Classes
- PartialFunction
-
def
map[B, That](f: ((String, Any)) ⇒ B)(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
mapResult[NewTo](f: (Map[String, Any]) ⇒ NewTo): Builder[(String, Any), NewTo]
- Definition Classes
- Builder
-
def
mapValues[W](f: (Any) ⇒ W): Map[String, W]
- Definition Classes
- MapLike → GenMapLike
-
def
max[B >: (String, Any)](implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: ((String, Any)) ⇒ B)(implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: (String, Any)](implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: ((String, Any)) ⇒ B)(implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[(String, Any), Map[String, Any]]
- Attributes
- protected[this]
- Definition Classes
- MapLike → MapLike → TraversableLike → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
orElse[A1 <: String, B1 >: Any](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
par: ParMap[String, Any]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[(String, Any), ParMap[String, Any]]
- Attributes
- protected[this]
- Definition Classes
- MapLike → MapLike → TraversableLike → Parallelizable
-
def
partition(p: ((String, Any)) ⇒ Boolean): (Map[String, Any], Map[String, Any])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
product[B >: (String, Any)](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
put(key: String, value: Any): Option[Any]
- Definition Classes
- MapLike
-
def
reduce[A1 >: (String, Any)](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: (String, Any)](op: (B, (String, Any)) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: (String, Any)](op: (B, (String, Any)) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: (String, Any)](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: (String, Any)](op: ((String, Any), B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: (String, Any)](op: ((String, Any), B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
remove(key: String): Option[Any]
- Definition Classes
- MapLike
-
def
repr: Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
result(): Map[String, Any]
- Definition Classes
- MapLike → Builder
-
def
retain(p: (String, Any) ⇒ Boolean): FlashMap.this.type
- Definition Classes
- MapLike
-
def
reversed: List[(String, Any)]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (Any) ⇒ U): (String) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: (String, Any)](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: (String, Any), That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, (String, Any)) ⇒ B)(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: ((String, Any), B) ⇒ B)(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
seq: Map[String, Any]
- Definition Classes
- Map → Map → GenMap → GenMapLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, until: Int): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableLike
-
def
span(p: ((String, Any)) ⇒ Boolean): (Map[String, Any], Map[String, Any])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (Map[String, Any], Map[String, Any])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
stringPrefix: String
- Definition Classes
- MapLike → TraversableLike → GenTraversableLike
-
def
sum[B >: (String, Any)](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
sweep(): Unit
Removes all flagged entries.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: Iterator[Map[String, Any]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Map[String, Any]
- Definition Classes
- IterableLike
-
def
takeWhile(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: Iterable[(String, Any)]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (String, Any), Col[(String, Any)]]): Col[(String, Any)]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: (String, Any)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[E >: (String, Any)]: Buffer[E]
- Definition Classes
- MapLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Map[String, Any]): Iterable[(String, Any)]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
toIndexedSeq: IndexedSeq[(String, Any)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: Iterable[(String, Any)]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[(String, Any)]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[(String, Any)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[(String, Any), (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: Seq[(String, Any)]
- Definition Classes
- MapLike → MapLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: (String, Any)]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[(String, Any)]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- MapLike → TraversableLike → Function1 → AnyRef → Any
-
def
toTraversable: Traversable[(String, Any)]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[(String, Any)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transform(f: (String, Any) ⇒ Any): FlashMap.this.type
- Definition Classes
- MapLike
-
def
transpose[B](implicit asTraversable: ((String, Any)) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
unzip[A1, A2](implicit asPair: ((String, Any)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: ((String, Any)) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(key: Symbol, value: Any): Unit
- Definition Classes
- MutableMapWithIndifferentAccess
-
def
update(key: String, value: Any): Unit
- Definition Classes
- MapLike
-
def
updated[V1 >: Any](key: String, value: V1): Map[String, V1]
- Definition Classes
- MapLike → MapLike
-
def
values: Iterable[Any]
- Definition Classes
- MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
values
returnsIterable[V]
rather thanIterator[V]
.
-
def
valuesIterator: Iterator[Any]
- Definition Classes
- MapLike → GenMapLike
-
def
view(from: Int, until: Int): IterableView[(String, Any), Map[String, Any]]
- Definition Classes
- IterableLike → TraversableLike
-
def
view: IterableView[(String, Any), Map[String, Any]]
- Definition Classes
- IterableLike → TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDefault(d: (String) ⇒ Any): Map[String, Any]
- Definition Classes
- Map
-
def
withDefaultValue(d: Any): Map[String, Any]
- Definition Classes
- Map
-
def
withFilter(p: ((String, Any)) ⇒ Boolean): FilterMonadic[(String, Any), Map[String, Any]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: (String, Any), B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Map[String, Any], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: (String, Any), That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Map[String, Any], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: (String, Any), That](implicit bf: CanBuildFrom[Map[String, Any], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
object
now
Sets a value for the current request only.
Sets a value for the current request only. It will be removed before the next request unless explicitly kept. Data put in this object is available as usual:
flash.now("notice") = "logged in successfully" flash("notice") // "logged in successfully"