summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@oath.com>2018-07-24 09:53:32 +0200
committerValerij Fredriksen <valerijf@oath.com>2018-07-24 09:53:32 +0200
commita5c6acd172c61dbc318c236f55f2c5e821391a03 (patch)
tree74f0f70443c8e5fd12a33ca16a774d6c5a828951 /container-core
parenta2b96031d9dd0df98169ad3d2ad6ce3b1710eefc (diff)
Tenant pipelines status 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.