public interface HttpReqParam
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllValues()
If this parameter is multiple this method will return all of the values
that were sent to the server under it´s name.
|
String |
getFirst()
Gets the first value sent to the server with the name of this parameter.
|
String |
getName()
The name of this parameter.
|
String |
getValue()
If this parameter is multiple this method will return a value according
to an internal cursor.
|
boolean |
isEmpty()
Determines if the first value sent to the server is an empty string.
|
boolean |
isMultiple()
Determines when ever this parameter has multiple values, this is if the
client sent several values with the name of this parameter.
|
boolean |
isSingle()
Determines when ever this parameter has a single value.
|
String |
popValue()
If this parameter is multiple this method will return a value according
to an internal cursor and increment the cursor position.
|
void |
reset()
Reset the internal cursor to position
0 |
String getName()
boolean isSingle()
boolean isMultiple()
String getFirst()
null
if the parameter has no values.String getValue()
null if the parameter has no more values.String popValue()
null if the parameter has no more values.void reset()
0String[] getAllValues()
boolean isEmpty()
Copyright © 2015–2018 Bridje Framework. All rights reserved.