Uses of Class
ai.vespa.http.HttpURL.Path
Packages that use HttpURL.Path
-
Uses of HttpURL.Path in ai.vespa.http
Methods in ai.vespa.http that return HttpURL.PathModifier and TypeMethodDescriptionHttpURL.Path.append(HttpURL.Path other) Returns a copy of this all segments of the other path appended, with a trailing slash as per the appendage.Returns a copy of this with the decoded segment appended at the end; it may not be either of"","."or"..".Returns a copy of this all given segments appended, with a trailing slash as per this path.HttpURL.Path.cut(int count) Returns a copy of this where the last segments are cut off, and with a trailing slash.static HttpURL.PathHttpURL.Path.empty()Creates a new, empty path, with a trailing slash, usingHttpURL.requirePathSegment(java.lang.String)for segment validation.static HttpURL.PathCreates a new, empty path, with a trailing slash, using the indicated validator for segments.HttpURL.Path.head(int count) Returns a copy of this where only the first segments are retained, and with a trailing slash.static HttpURL.PathParses the given raw, normalized path string; this ignores whether the path is absolute or relative.static HttpURL.PathParses the given raw, normalized path string; this ignores whether the path is absolute or relative.HttpURL.path()HttpURL.Path.skip(int count) Returns a copy of this where the first segments are skipped.HttpURL.Path.tail(int count) Returns a copy of this where only the last segments are retained.HttpURL.Path.withoutTrailingSlash()Returns a copy of this which does not encode a trailing slash.HttpURL.Path.withTrailingSlash()Returns a copy of this which encodes a trailing slash.Methods in ai.vespa.http with parameters of type HttpURL.PathModifier and TypeMethodDescriptionHttpURL.Path.append(HttpURL.Path other) Returns a copy of this all segments of the other path appended, with a trailing slash as per the appendage.HttpURL.appendPath(HttpURL.Path path) Returns a copy of this with the given path appended.static HttpURLHttpURL.create(HttpURL.Scheme scheme, DomainName domain, int port, HttpURL.Path path) static HttpURLHttpURL.create(HttpURL.Scheme scheme, DomainName domain, int port, HttpURL.Path path, HttpURL.Query query) HttpURL.withPath(HttpURL.Path path) Returns a copy of this with only the given path.