It is used to indicate what parameters should the URI have upon a HTTP request. More...
Instance Methods | |
| (id) | - initWithName:andValue:: |
| Constructor first validates the name before actually creating the Parameter. More... | |
Properties | |
| NSString * | name |
| id | value |
It is used to indicate what parameters should the URI have upon a HTTP request.
Its term should be one of the terms shown in ParameterTerms or it returns an error. Its value should be the search value.
| - (id) initWithName: | (NSString *) | name | |
| andValue: | (id) | value | |
| : | (NSError **) | error | |
Constructor first validates the name before actually creating the Parameter.
Its validation verifies if it is one of the terms found in ParameterTerms. If it is not found in the aforementioned enum, then it will set the error field.
| name | the name of the parameter |
| value | the value of the parameter used for search |
| error | set if the parameter term is invalid |
1.8.3.1-20130324