Index
All Classes and Interfaces|All Packages
A
- AbstractSessionScopeMap<S,
R> - Class in org.apache.commons.chain.web -
Implementation of
Map
for session attributes with a parameter-provider. - AbstractSessionScopeMap(R) - Constructor for class org.apache.commons.chain.web.AbstractSessionScopeMap
-
The constructor for the session attributes.
- accept(T) - Method in interface org.apache.commons.chain.web.CheckedConsumer
-
Performs this operation on the given argument.
- andThen(CheckedConsumer<? super T, E>) - Method in interface org.apache.commons.chain.web.CheckedConsumer
-
Returns a composed
CheckedConsumer
that performs, in sequence, this operation followed by theafter
operation. - andThen(CheckedFunction<? super R, ? extends V, E>) - Method in interface org.apache.commons.chain.web.CheckedFunction
-
Returns a composed
CheckedFunction
that first applies this function to its input, and then applies theafter
function to the result. - apply(T) - Method in interface org.apache.commons.chain.web.CheckedFunction
-
Applies this function to the given argument.
C
- CheckedConsumer<T,
E> - Interface in org.apache.commons.chain.web -
Represents an operation that accepts a single input argument and returns no result.
- CheckedFunction<T,
R, - Interface in org.apache.commons.chain.webE> -
Represents a function that accepts one argument and produces a result.
- clear() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Removes all of the mappings from this session-map.
- clear() - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Removes all of the mappings from this parameter-map.
- clear() - Method in class org.apache.commons.chain.web.ParameterMap
-
Removes all of the mappings from this parameter-map.
- compose(CheckedFunction<? super V, ? extends T, E>) - Method in interface org.apache.commons.chain.web.CheckedFunction
-
Returns a composed
CheckedFunction
that first applies thebefore
function to its input, and then applies this function to the result. - containsKey(Object) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns
true
if this session-map contains a mapping for the specified key. - containsKey(Object) - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns
true
if this parameter-map contains a mapping for the specified key. - containsValue(Object) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns
true
if this session-map maps one or more keys to the specified value. - containsValue(Object) - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Returns
true
if this parameter-map maps one or more keys to the specified value. - containsValue(Object) - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns
true
if this parameter-map maps one or more keys to the specified value. - containsValue(Object) - Method in class org.apache.commons.chain.web.ParamValuesMap
-
Returns
true
if this parameter-map maps one or more keys to the specified value. - createParameterMap() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Creates a new mutable-parameter-map to access the session-attributes.
E
- entrySet() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns a
Set
view of the mappings contained in this session-map. - entrySet() - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Returns a
Set
view of the mappings contained in this parameter-map. - entrySet() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns a
Set
view of the mappings contained in this parameter-map. - entrySet(boolean) - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns a
Set
view of the mappings contained in this map. - equals(Object) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Compares the specified object with this session-map for equality.
- equals(Object) - Method in class org.apache.commons.chain.web.MapEntry
-
Determines if this entry is equal to the passed object.
- equals(Object) - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Compares the specified object with this parameter-map for equality.
- equals(Object) - Method in class org.apache.commons.chain.web.ParameterMap
-
Compares the specified object with this parameter-map for equality.
G
- get(Object) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns the value to which the specified key is mapped, or
null
if this session-map contains no mapping for the key. - get(Object) - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns the value to which the specified key is mapped, or
null
if this parameter-map contains no mapping for the key. - getKey() - Method in class org.apache.commons.chain.web.MapEntry
-
Gets the entry key.
- getNamesSupplier() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns the Supplier to return an
Enumeration
ofString
objects containing the names of the parameters contained in this object. - getParameter() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns the parameter-class.
- getRequest() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns the request-class.
- getSession() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns the session-class.
- getSession(boolean) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns the current session or, if there is no current session and the given flag is
true
, creates one and returns the new session. - getValue() - Method in class org.apache.commons.chain.web.MapEntry
-
Gets the entry value.
- getValueFunction() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns the Function to return the value of a parameter as an
String
, ornull
if no parameter of the given name exists.
H
- hashCode() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns the hash code value for this session-map.
- hashCode() - Method in class org.apache.commons.chain.web.MapEntry
-
Returns the hashcode for this entry.
- hashCode() - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Returns the hash code value for this parameter-map.
- hashCode() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns the hash code value for this parameter-map.
I
- identity() - Static method in interface org.apache.commons.chain.web.CheckedFunction
-
Returns a function that always returns its input argument.
- isEmpty() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns
true
if this session-map contains no key-value mappings. - isEmpty() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns
true
if this parameter-map contains no key-value mappings.
K
- key(Object) - Static method in class org.apache.commons.chain.web.ParameterMap
-
Converts the
key
to aString
. - keySet() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns a
Set
view of the keys contained in this session-map. - keySet() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns a
Set
view of the keys contained in this parameter-map.
M
- MapEntry<T> - Class in org.apache.commons.chain.web
-
Map.Entry
implementation that can be constructed to either be read-only or not. - MapEntry(String, T, boolean) - Constructor for class org.apache.commons.chain.web.MapEntry
-
Creates a map entry that can either allow modifications or not.
- MutableParameterMap<P,
T> - Class in org.apache.commons.chain.web -
Implementation of
Map
for mutable parameters with a parameter-provider. - MutableParameterMap(P, Function<String, T>, Supplier<Enumeration<String>>, Consumer<String>, BiConsumer<String, T>) - Constructor for class org.apache.commons.chain.web.MutableParameterMap
-
The constructor for an mutable parameter-map.
O
- org.apache.commons.chain.web - package org.apache.commons.chain.web
-
Basis for specialized
Context
implementations suitable for use in web applications, and genericCommand
implementations useful across web application environments.
P
- ParameterMap<P,
T> - Class in org.apache.commons.chain.web -
Implementation of
Map
for immutable parameters with a parameter-provider. - ParameterMap(P, Function<String, T>, Supplier<Enumeration<String>>) - Constructor for class org.apache.commons.chain.web.ParameterMap
-
The constructor for an immutable parameter-map.
- ParamValuesMap<P> - Class in org.apache.commons.chain.web
-
Implementation of
Map
for immutable parameter name-values with a parameter-provider. - ParamValuesMap(P, Function<String, String[]>, Supplier<Enumeration<String>>) - Constructor for class org.apache.commons.chain.web.ParamValuesMap
-
The constructor for an immutable parameter-map.
- put(String, Object) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Associates the specified value with the specified key in this session-map.
- put(String, T) - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Associates the specified value with the specified key in this parameter-map.
- put(String, T) - Method in class org.apache.commons.chain.web.ParameterMap
-
Associates the specified value with the specified key in this parameter-map.
- putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Copies all of the mappings from the specified map to this session-map.
- putAll(Map<? extends String, ? extends T>) - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Copies all of the mappings from the specified map to this parameter-map.
- putAll(Map<? extends String, ? extends T>) - Method in class org.apache.commons.chain.web.ParameterMap
-
Copies all of the mappings from the specified map to this parameter-map.
R
- remove(Object) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Removes the mapping for the specified key from this session-map if present.
- remove(Object) - Method in class org.apache.commons.chain.web.MutableParameterMap
-
Removes the mapping for the specified key from this parameter-map if present.
- remove(Object) - Method in class org.apache.commons.chain.web.ParameterMap
-
Removes the mapping for the specified key from this parameter-map if present.
S
- sessionExists() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns
true
if a session exists. - sessionExists(boolean) - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns
true
if a session exists or creates a new session if the parametercreate
is set totrue
. - setValue(T) - Method in class org.apache.commons.chain.web.MapEntry
-
Sets the entry value if the entry can be modified.
- size() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns the number of key-value mappings in this session-map.
- size() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns the number of key-value mappings in this parameter-map.
T
- toString() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns a string representation of this session-map.
- toString() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns a string representation of this parameter-map.
V
- values() - Method in class org.apache.commons.chain.web.AbstractSessionScopeMap
-
Returns a
Collection
view of the values contained in this session-map. - values() - Method in class org.apache.commons.chain.web.ParameterMap
-
Returns a
Collection
view of the values contained in this parameter-map.
All Classes and Interfaces|All Packages