Instance Methods | |
| (void) | - set:withValue: |
| Set the values of each template. More... | |
| (BOOL) | - hasParameter: |
| Checks whether the URI contains the given name in the templated area. This method is case sensitive. More... | |
| (NSString *) | - build |
| Builds the desired URI. This method resets previously set values. More... | |
Class Methods | |
| (UriTemplate *) | + fromTemplate: |
| Generate a UriTemplate with a given template form. More... | |
Properties | |
| NSString * | template |
| NSMutableDictionary * | values |
A simplified implementation of the URI Template (RFC6570) used to build the server URIs.
| - (NSString *) build |
Builds the desired URI. This method resets previously set values.
| + (UriTemplate *) fromTemplate: | (NSString *) | template |
Generate a UriTemplate with a given template form.
| template | the wanted template |
| - (BOOL) hasParameter: | (NSString *) | parameter |
Checks whether the URI contains the given name in the templated area. This method is case sensitive.
| parameter | the parameter to find |
true if the templated area contains the name, false otherwise | - (void) set: | (NSString *) | name | |
| withValue: | (id) | value | |
Set the values of each template.
| name | the name of the template |
| value | the value of the template. Supported objects: simple objects, Arrays and Dictionaries. |
1.8.3.1-20130324