summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorValerij Fredriksen <freva@users.noreply.github.com>2018-07-24 12:43:11 +0200
committerGitHub <noreply@github.com>2018-07-24 12:43:11 +0200
commit1489817a37d1494424916a3457b637c804050464 (patch)
treefcdb1c0e73c0789919858e4f586b573f09d428e9 /container-core
parentdf1f569c52be3d28d6d6525c533f0576a907a11d (diff)
parentc6bc116c57550c953767e9e722aa287ed3903809 (diff)
Merge pull request #6454 from vespa-engine/freva/tenant-pipelines-api
Tenant pipelines API
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/java/com/yahoo/restapi/Path.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/restapi/Path.java b/container-core/src/main/java/com/yahoo/restapi/Path.java
index 65f0bab9a8d..7f78572f2d7 100644
--- a/container-core/src/main/java/com/yahoo/restapi/Path.java
+++ b/container-core/src/main/java/com/yahoo/restapi/Path.java
@@ -19,7 +19,7 @@ import java.util.stream.Collectors;
* If the path spec ends with /{*}, it will match urls with any rest path.
* The rest path (not including the trailing slash) will be available as getRest().
*
- * Note that for convenience in common use this has state which is changes as a side effect of each matches
+ * Note that for convenience in common use this has state which changes as a side effect of each matches
* invocation. It is therefore for single thread use.
*
* @author bratseth
@@ -40,6 +40,8 @@ public class Path {
}
/**
+ * Parses the path according to pathSpec - must be called prior to {@link #get}
+ *
* Returns whether this path matches the given template string.
* If the given template has placeholders, their values (accessible by get) are reset by calling this,
* whether or not the path matches the given template.