Package | Description |
---|---|
cn.hutool.core.net |
网络相关工具
|
Modifier and Type | Field and Description |
---|---|
static URLEncoder |
URLEncoder.ALL
Deprecated.
全编码的URLEncoder
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', ' |
static URLEncoder |
URLEncoder.DEFAULT
Deprecated.
默认URLEncoder
默认的编码器针对URI路径编码,定义如下: default = pchar / "/" pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!" |
static URLEncoder |
URLEncoder.FRAGMENT
Deprecated.
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下: fragment = *( pchar / "/" / "?" |
static URLEncoder |
URLEncoder.PATH_SEGMENT
Deprecated.
URL的Path的每一个Segment URLEncoder
默认的编码器针对URI路径编码,定义如下: pchar = unreserved / pct-encoded / sub-delims / ":"(非空segment不包含:) / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!" |
static URLEncoder |
URLEncoder.QUERY
Deprecated.
用于查询语句的URLEncoder
编码器针对URI路径编码,定义如下: 0x20 ' ' =》 '+' 0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', ' |
Modifier and Type | Method and Description |
---|---|
static URLEncoder |
URLEncoder.createAll()
Deprecated.
创建URLEncoder
编码器针对URI路径编码,定义如下: 0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', ' |
static URLEncoder |
URLEncoder.createDefault()
Deprecated.
创建默认URLEncoder
默认的编码器针对URI路径编码,定义如下: default = pchar / "/" pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!" |
static URLEncoder |
URLEncoder.createFragment()
Deprecated.
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下: fragment = *( pchar / "/" / "?" |
static URLEncoder |
URLEncoder.createPathSegment()
Deprecated.
URL的Path的每一个Segment URLEncoder
默认的编码器针对URI路径的每一段编码,定义如下: pchar = unreserved / pct-encoded / sub-delims / ":"(非空segment不包含:) / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!" |
static URLEncoder |
URLEncoder.createQuery()
Deprecated.
创建用于查询语句的URLEncoder
编码器针对URI路径编码,定义如下: 0x20 ' ' =》 '+' 0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', ' |
Copyright © 2024. All rights reserved.