| Package | Description |
|---|---|
| org.aoju.bus.core.utils |
| Modifier and Type | Method and Description |
|---|---|
UriUtils.Path |
UriUtils.Path.add(CharSequence segment)
添加到path最后面
|
UriUtils.Path |
UriUtils.Path.addBefore(CharSequence segment)
添加到path最前面
|
UriUtils.Path |
UriUtils.getPath()
获取路径,例如/aa/bb/cc
|
static UriUtils.Path |
UriUtils.Path.of(String pathStr,
Charset charset)
构建Path
|
UriUtils.Path |
UriUtils.Path.parse(String path,
Charset charset)
解析path
|
UriUtils.Path |
UriUtils.Path.setWithEndTag(boolean withEngTag)
是否path的末尾加/
|
| Modifier and Type | Method and Description |
|---|---|
static UriUtils |
UriUtils.of(String scheme,
String host,
int port,
UriUtils.Path path,
UriUtils.Query query,
String fragment,
Charset charset)
构建UriUtils
|
UriUtils |
UriUtils.setPath(UriUtils.Path path)
设置路径,例如/aa/bb/cc,将覆盖之前所有的path相关设置
|
| Constructor and Description |
|---|
UriUtils(String scheme,
String host,
int port,
UriUtils.Path path,
UriUtils.Query query,
String fragment,
Charset charset)
构造
|
Copyright © 2020. All rights reserved.