Public Instance Methods : SstHttpCgiRequestHeader
formAt: key
"ACTION
Answer the value(s) associated with the form field named @key.
If there was only a single value, then a String will be returned
(which answers to #isString). Otherwise multiple values were
associated with the field and a collection is returned.
Answer nil if there were no associated values.
Note that @key *is* case-sensitive, unlike header attributes.
PARAMETERS
key : <String>
RETURN VALUE
nil | <String> | <Collection of <String>>"
Categories
SST-API Developer
formAt: key add: value
"ACTION
Cause value to be associated with the form field named @key
in addition to any other values. Answer @value.
Note that @key *is* case-sensitive, unlike header attributes.
PARAMETERS
key : <String>
value : <String>
RETURN VALUE
<String>"
Categories
SST-API Developer
formAt: key ifAbsent: absentBlock
"ACTION
Answer the value(s) associated with the form field named @key.
If there was only a single value, then a String will be returned
(which answers to #isString). Otherwise multiple values were
associated with the field and a collection is returned.
Answer the result of evaluating @absentBlock if there were no
associated values.
Note that @key *is* case-sensitive, unlike header attributes.
PARAMETERS
key : <String>
absentBlock : <Block>
RETURN VALUE
<Object> | <String> | <Collection of <String>>"
Categories
SST-API Developer
formAt: key put: value
"ACTION
Cause value to be associated with the form field named @key,
replacing any other such values. Answer @value.
Note that @key *is* case-sensitive, unlike header attributes.
PARAMETERS
key : <String>
value : <String>
RETURN VALUE
<String>"
Categories
SST-API Developer
removeFormField: key ifAbsent: absentHandler
"ACTION
Remove any associations to @key. Answer the association(s), if there
were any. If no associations then answer the result of evaluating
@absentBlock.
PARAMETERS
key : <String>
absentHandler : <Block>
RETURN VALUE
<Object> | <String> | <Collection of <String>>"
Categories
SST-API Developer
[FIRST] [PREV] [NEXT] [LAST]