Package org.miaixz.bus.core.net.url
Class RFC3986
java.lang.Object
org.miaixz.bus.core.net.url.RFC3986
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PercentCodecfragment = pchar / "/" / "?"static final PercentCodec通用URI组件分隔符 gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"static final PercentCodecpath = segment / "/"static final PercentCodecpchar = unreserved / pct-encoded / sub-delims / ":" / "@"static final PercentCodecquery = pchar / "/" / "?"static final PercentCodecquery中的key key不能包含"&" 和 "="static final PercentCodecquery中的key编码器,严格模式,key中不能包含任何分隔符。static final PercentCodecquery中的value value不能包含"&",可以包含 "="static final PercentCodecquery中的value编码器,严格模式,value中不能包含任何分隔符。static final PercentCodecreserved = gen-delims / sub-delims see:https://www.ietf.org/rfc/rfc3986.html#section-2.2static final PercentCodecsegment = pchar see: https://www.ietf.org/rfc/rfc3986.html#section-3.3static final PercentCodecsegment-nz-nc = SEGMENT ; non-zero-length segment without any colon ":"static final PercentCodecsub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="static final PercentCodec非保留字符,即URI中不作为分隔符使用的字符 unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" see: https://www.ietf.org/rfc/rfc3986.html#section-2.3 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GEN_DELIMS
通用URI组件分隔符 gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@" -
SUB_DELIMS
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" -
RESERVED
reserved = gen-delims / sub-delims see:https://www.ietf.org/rfc/rfc3986.html#section-2.2 -
UNRESERVED
非保留字符,即URI中不作为分隔符使用的字符 unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" see: https://www.ietf.org/rfc/rfc3986.html#section-2.3 -
PCHAR
pchar = unreserved / pct-encoded / sub-delims / ":" / "@" -
SEGMENT
segment = pchar see: https://www.ietf.org/rfc/rfc3986.html#section-3.3 -
SEGMENT_NZ_NC
segment-nz-nc = SEGMENT ; non-zero-length segment without any colon ":" -
PATH
path = segment / "/" -
QUERY
query = pchar / "/" / "?" -
FRAGMENT
fragment = pchar / "/" / "?" -
QUERY_PARAM_VALUE
query中的value value不能包含"&",可以包含 "=" -
QUERY_PARAM_NAME
query中的key key不能包含"&" 和 "=" -
QUERY_PARAM_VALUE_STRICT
query中的value编码器,严格模式,value中不能包含任何分隔符。 -
QUERY_PARAM_NAME_STRICT
query中的key编码器,严格模式,key中不能包含任何分隔符。
-
-
Constructor Details
-
RFC3986
public RFC3986()
-