public class RFC3986 extends Object
Modifier and Type | Field and Description |
---|---|
static PercentCodec |
FRAGMENT
fragment = pchar / "/" / "?"
|
static PercentCodec |
GEN_DELIMS
gen-delims = ":" / "/" / "?"
|
static PercentCodec |
PATH
path = segment / "/"
|
static PercentCodec |
PCHAR
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
|
static PercentCodec |
QUERY
query = pchar / "/" / "?"
|
static PercentCodec |
QUERY_PARAM_NAME
query中的key
key不能包含" & " 和 "=" |
static PercentCodec |
QUERY_PARAM_NAME_STRICT
query中的key编码器,严格模式,key中不能包含任何分隔符。
|
static PercentCodec |
QUERY_PARAM_VALUE
query中的value
value不能包含" & ",可以包含 "=" |
static PercentCodec |
QUERY_PARAM_VALUE_STRICT
query中的value编码器,严格模式,value中不能包含任何分隔符。
|
static PercentCodec |
RESERVED
reserved = gen-delims / sub-delims
see:https://www.ietf.org/rfc/rfc3986.html#section-2.2 |
static PercentCodec |
SEGMENT
segment = pchar
see: https://www.ietf.org/rfc/rfc3986.html#section-3.3 |
static PercentCodec |
SEGMENT_NZ_NC
segment-nz-nc = SEGMENT ; non-zero-length segment without any colon ":"
|
static PercentCodec |
SUB_DELIMS
sub-delims = "!"
|
static PercentCodec |
UNRESERVED
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
see: https://www.ietf.org/rfc/rfc3986.html#section-2.3 |
Constructor and Description |
---|
RFC3986() |
public static final PercentCodec GEN_DELIMS
public static final PercentCodec SUB_DELIMS
&
" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="public static final PercentCodec RESERVED
public static final PercentCodec UNRESERVED
public static final PercentCodec PCHAR
public static final PercentCodec SEGMENT
public static final PercentCodec SEGMENT_NZ_NC
public static final PercentCodec PATH
public static final PercentCodec QUERY
public static final PercentCodec FRAGMENT
public static final PercentCodec QUERY_PARAM_VALUE
&
",可以包含 "="public static final PercentCodec QUERY_PARAM_VALUE_STRICT
public static final PercentCodec QUERY_PARAM_NAME
&
" 和 "="public static final PercentCodec QUERY_PARAM_NAME_STRICT
Copyright © 2024. All rights reserved.