public class ParseUrlFunction extends Object
parse_url function takes an URL and returns a map of components of the URL.
It acts as a wrapper for URL. If an optional URL component is absent,
e.g. there is no anchor (reference) element, the "ref" entry will not be added to resulting map.
For example, parse_url('http://example.com/some/path?key=value#ref') will return:
{
"protocol":"http",
"authority":"example.com",
"host":"example.com",
"path":"/some/path",
"query":"key=value",
"filename":"/some/path?key=value",
"ref":"ref"
}
| Modifier and Type | Class and Description |
|---|---|
static class |
ParseUrlFunction.ParseUrl |
static class |
ParseUrlFunction.ParseUrlNullableInput |
| Constructor and Description |
|---|
ParseUrlFunction() |
Copyright © 2022 The Apache Software Foundation. All rights reserved.