http://user@host:port/path/info;param?query#fragment
this class will split it into the following undecoded optional elements:getScheme() - http:getAuthority() - //name@host:portgetHost() - hostgetPort() - portgetPath() - /path/infogetParam() - paramgetQuery() - querygetFragment() - fragment| Modifier and Type | Field and Description |
|---|---|
| private static byte[] | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv byte[] | |
| pack-priv String | |
| pack-priv int | |
| pack-priv Utf8StringBuilder | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | HttpURI(boolean
If True, parse auth without prior scheme, else treat all URIs starting with / as paths parsePartialAuth)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public int | |
| public String | |
| public String | |
| public String | |
| public boolean | |
| public void | |
| public void | |
| private void | |
| public String | |
| private String | |
| public void |
| __empty | back to summary |
|---|---|
| private static byte[] __empty | |
| _authority | back to summary |
|---|---|
| pack-priv int _authority | |
| _encoded | back to summary |
|---|---|
| pack-priv boolean _encoded | |
| _end | back to summary |
|---|---|
| pack-priv int _end | |
| _fragment | back to summary |
|---|---|
| pack-priv int _fragment | |
| _host | back to summary |
|---|---|
| pack-priv int _host | |
| _param | back to summary |
|---|---|
| pack-priv int _param | |
| _partial | back to summary |
|---|---|
| pack-priv boolean _partial | |
| _path | back to summary |
|---|---|
| pack-priv int _path | |
| _port | back to summary |
|---|---|
| pack-priv int _port | |
| _query | back to summary |
|---|---|
| pack-priv int _query | |
| _raw | back to summary |
|---|---|
| pack-priv byte[] _raw | |
| _rawString | back to summary |
|---|---|
| pack-priv String _rawString | |
| _scheme | back to summary |
|---|---|
| pack-priv int _scheme | |
| _utf8b | back to summary |
|---|---|
| pack-priv Utf8StringBuilder _utf8b | |
| ASTERISK | back to summary |
|---|---|
| private static final int ASTERISK | |
| AUTH | back to summary |
|---|---|
| private static final int AUTH | |
| AUTH_OR_PATH | back to summary |
|---|---|
| private static final int AUTH_OR_PATH | |
| IPV6 | back to summary |
|---|---|
| private static final int IPV6 | |
| PARAM | back to summary |
|---|---|
| private static final int PARAM | |
| PATH | back to summary |
|---|---|
| private static final int PATH | |
| PORT | back to summary |
|---|---|
| private static final int PORT | |
| QUERY | back to summary |
|---|---|
| private static final int QUERY | |
| SCHEME_OR_PATH | back to summary |
|---|---|
| private static final int SCHEME_OR_PATH | |
| START | back to summary |
|---|---|
| private static final int START | |
| HttpURI | back to summary |
|---|---|
| public HttpURI() | |
| HttpURI | back to summary |
|---|---|
public HttpURI(boolean parsePartialAuth)
| |
| HttpURI | back to summary |
|---|---|
| public HttpURI(String raw) | |
| HttpURI | back to summary |
|---|---|
| public HttpURI(byte[] raw, int offset, int length) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| decodeQueryTo | back to summary |
|---|---|
| public void decodeQueryTo(MultiMap<K> parameters) | |
| decodeQueryTo | back to summary |
|---|---|
| public void decodeQueryTo(MultiMap<K> parameters, String encoding) throws UnsupportedEncodingException | |
| getAuthority | back to summary |
|---|---|
| public String getAuthority() | |
| getCompletePath | back to summary |
|---|---|
| public String getCompletePath() | |
| getDecodedPath | back to summary |
|---|---|
| public String getDecodedPath() | |
| getFragment | back to summary |
|---|---|
| public String getFragment() | |
| getHost | back to summary |
|---|---|
| public String getHost() | |
| getParam | back to summary |
|---|---|
| public String getParam() | |
| getPath | back to summary |
|---|---|
| public String getPath() | |
| getPathAndParam | back to summary |
|---|---|
| public String getPathAndParam() | |
| getPort | back to summary |
|---|---|
| public int getPort() | |
| getQuery | back to summary |
|---|---|
| public String getQuery() | |
| getQuery | back to summary |
|---|---|
| public String getQuery(String encoding) | |
| getScheme | back to summary |
|---|---|
| public String getScheme() | |
| hasQuery | back to summary |
|---|---|
| public boolean hasQuery() | |
| parse | back to summary |
|---|---|
| public void parse(String raw) | |
| parse | back to summary |
|---|---|
| public void parse(byte[] raw, int offset, int length) | |
| parse2 | back to summary |
|---|---|
| private void parse2(byte[] raw, int offset, int length) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| toUtf8String | back to summary |
|---|---|
| private String toUtf8String(int offset, int length) | |
| writeTo | back to summary |
|---|---|
| public void writeTo(Utf8StringBuilder buf) | |