| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final IOException | EXCEPTION_EOF
Unexpected end of data. |
| private static final IOException | EXCEPTION_NOT_HEX_DIGIT
%xx with not-hex digit |
| private static final IOException | EXCEPTION_SLASH
%-encoded slash is forbidden in resource path |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | convert(ByteChunk
The URL encoded bytes mb, EncodedSolidusHandling How should the %2f sequence handled by the decoder? For query strings this
parameter will be ignored and the %2f sequence will be decoded encodedSolidusHandling)URLDecode, will modify the source. |
| private void | |
| private static boolean | |
| public static String | |
| private static int | |
| private static int |
| EXCEPTION_EOF | back to summary |
|---|---|
| private static final IOException EXCEPTION_EOF Unexpected end of data. | |
| EXCEPTION_NOT_HEX_DIGIT | back to summary |
|---|---|
| private static final IOException EXCEPTION_NOT_HEX_DIGIT %xx with not-hex digit | |
| EXCEPTION_SLASH | back to summary |
|---|---|
| private static final IOException EXCEPTION_SLASH %-encoded slash is forbidden in resource path | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| UDecoder | back to summary |
|---|---|
| public UDecoder() | |
| convert | back to summary |
|---|---|
| public void convert(ByteChunk mb, boolean query) throws IOException URLDecode, will modify the source. Assumes source bytes are encoded using a superset of US-ASCII as per RFC 7230. "%2f" will be rejected unless the input is a query string.
| |
| convert | back to summary |
|---|---|
| public void convert(ByteChunk mb, EncodedSolidusHandling encodedSolidusHandling) throws IOException URLDecode, will modify the source. Assumes source bytes are encoded using a superset of US-ASCII as per RFC 7230.
| |
| convert | back to summary |
|---|---|
| private void convert(ByteChunk mb, boolean query, EncodedSolidusHandling encodedSolidusHandling) throws IOException | |
| isHexDigit | back to summary |
|---|---|
| private static boolean isHexDigit(int c) | |
| URLDecode | back to summary |
|---|---|
| public static String URLDecode(String str, Charset charset) Decode and return the specified URL-encoded String. It is assumed the string is not a query string.
| |
| x2c | back to summary |
|---|---|
| private static int x2c(byte b1, byte b2) | |
| x2c | back to summary |
|---|---|
| private static int x2c(char b1, char b2) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized Throwable | fillInStackTrace()
Overrides java. Fills in the execution stack trace. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DecodeException | back to summary |
|---|---|
| pack-priv DecodeException(String s) | |
| fillInStackTrace | back to summary |
|---|---|
| public synchronized Throwable fillInStackTrace() Overrides java. Doc from java. Fills in the execution stack trace. This method records within this
If the stack trace of this | |