Uses of Class
org.aoju.bus.core.toolkit.UriKit
Packages that use UriKit
-
Uses of UriKit in org.aoju.bus.core.toolkit
Methods in org.aoju.bus.core.toolkit that return UriKitModifier and TypeMethodDescription增加路径节点添加查询项,支持重复键UriKit.appendPath(CharSequence segment) 追加path节点static UriKitUriKit.of()创建空的static UriKit使用URL字符串构建UriKit,当传入的URL没有协议时,按照http协议对待,编码默认使用UTF-8static UriKitUriKit.of(String scheme, String host, int port, String path, String query, String fragment, Charset charset) 构建static UriKitUriKit.of(String scheme, String host, int port, UriKit.Path path, UriKit.Query query, String fragment, Charset charset) 构建static UriKit使用URL字符串构建static UriKit使用URI构建static UriKit使用URL构建UriKit.setCharset(Charset charset) 设置编码,用于URLEncode和URLDecodeUriKit.setFragment(String fragment) 设置标识符,例如#后边的部分设置主机,例如127.0.0.1UriKit.setPath(UriKit.Path path) 设置路径,例如/aa/bb/cc,将覆盖之前所有的path相关设置UriKit.setPort(int port) 设置端口,默认-1UriKit.setQuery(UriKit.Query query) 设置查询语句,例如a=1&b=2,将覆盖之前所有的query相关设置设置协议,例如http