![JAR search and dependency download from the Maven repository](/logo.png)
org.webbitserver.rest.UriTemplateProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webbit-rest Show documentation
Show all versions of webbit-rest Show documentation
An uri-template based REST API for Webbit
The newest version!
package org.webbitserver.rest;
import java.util.Map;
/**
* Abstract representation of an URI-template engine.
*/
public interface UriTemplateProcessor {
String expand(String uriTemplate, String[] keyValuePairs);
String expand(String uriTemplate, Map parameters);
/**
* Extracts variables from a uri, matching against an URI template
*
* @param uriTemplate template to match against
* @param uri the URI
* @return the matched variables, or null if there was no match
*/
Map extract(String uriTemplate, String uri);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy