org.webbitserver.rest.furi
Class FuriProcessor
java.lang.Object
org.webbitserver.rest.furi.FuriProcessor
- All Implemented Interfaces:
- UriTemplateProcessor
public class FuriProcessor
- extends Object
- implements UriTemplateProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FuriProcessor
public FuriProcessor()
expand
public String expand(String uriTemplate,
String[] keyValuePairs)
- Specified by:
expand in interface UriTemplateProcessor
expand
public String expand(String uriTemplate,
Map<String,Object> parameters)
- Specified by:
expand in interface UriTemplateProcessor
extract
public Map<String,Object> extract(String uriTemplate,
String uri)
- Description copied from interface:
UriTemplateProcessor
- Extracts variables from a uri, matching against an URI template
- Specified by:
extract in interface UriTemplateProcessor
- Parameters:
uriTemplate - template to match againsturi - the URI
- Returns:
- the matched variables, or null if there was no match
Copyright © 2012. All Rights Reserved.