java.net.URLEncoder
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public void | |
| public void | |
| public static void | decode88591To(InputStream
InputSteam to read in, MultiMap<K> MultiMap to add parameters to map, int maximum length of content to read 0r -1 for no limit maxLength)Decoded parameters to Map. |
| public static String | |
| public static void | |
| public static void | decodeTo(InputStream
the stream containing the encoded parameters in, MultiMap<K> map, String charset, int maxLength)Decoded parameters to Map. |
| public static void | |
| public static void | decodeUtf8To(byte[]
the byte[] containing the encoded parameters raw, int offset, int length, MultiMap<K> map)Decoded parameters to Map. |
| public static void | decodeUtf8To(byte[]
the byte[] containing the encoded parameters raw, int offset, int length, MultiMap<K> map, Utf8StringBuilder buffer)Decoded parameters to Map. |
| public static void | decodeUtf8To(InputStream
InputSteam to read in, MultiMap<K> MultiMap to add parameters to map, int maximum length of conent to read 0r -1 for no limit maxLength)Decoded parameters to Map. |
| public String | |
| public String | |
| public synchronized String | |
| public static String | |
| public static String | |
| public static String |
| UrlEncoded | back to summary |
|---|---|
| public UrlEncoded(UrlEncoded url) | |
| UrlEncoded | back to summary |
|---|---|
| public UrlEncoded() | |
| UrlEncoded | back to summary |
|---|---|
| public UrlEncoded(String s) | |
| UrlEncoded | back to summary |
|---|---|
| public UrlEncoded(String s, String charset) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| decode | back to summary |
|---|---|
| public void decode(String query) | |
| decode | back to summary |
|---|---|
| public void decode(String query, String charset) | |
| decode88591To | back to summary |
|---|---|
| public static void decode88591To(InputStream in, MultiMap<K> map, int maxLength) throws IOException Decoded parameters to Map.
| |
| decodeString | back to summary |
|---|---|
| public static String decodeString(String encoded, int offset, int length, String charset) Decode String with % encoding. This method makes the assumption that the majority of calls will need no decoding. | |
| decodeTo | back to summary |
|---|---|
| public static void decodeTo(String content, MultiMap<K> map, String charset) Decoded parameters to Map.
| |
| decodeTo | back to summary |
|---|---|
| public static void decodeTo(InputStream in, MultiMap<K> map, String charset, int maxLength) throws IOException Decoded parameters to Map.
| |
| decodeUtf16To | back to summary |
|---|---|
| public static void decodeUtf16To(InputStream in, MultiMap<K> map, int maxLength) throws IOException | |
| decodeUtf8To | back to summary |
|---|---|
| public static void decodeUtf8To(byte[] raw, int offset, int length, MultiMap<K> map) Decoded parameters to Map.
| |
| decodeUtf8To | back to summary |
|---|---|
| public static void decodeUtf8To(byte[] raw, int offset, int length, MultiMap<K> map, Utf8StringBuilder buffer) Decoded parameters to Map.
| |
| decodeUtf8To | back to summary |
|---|---|
| public static void decodeUtf8To(InputStream in, MultiMap<K> map, int maxLength) throws IOException Decoded parameters to Map.
| |
| encode | back to summary |
|---|---|
| public String encode() Encode Hashtable with % encoding. | |
| encode | back to summary |
|---|---|
| public String encode(String charset) Encode Hashtable with % encoding. | |
| encode | back to summary |
|---|---|
| public synchronized String encode(String charset, boolean equalsForNullValue) Encode Hashtable with % encoding.
| |
| encode | back to summary |
|---|---|
| public static String encode(MultiMap<K> map, String charset, boolean equalsForNullValue) Encode Hashtable with % encoding.
| |
| encodeString | back to summary |
|---|---|
| public static String encodeString(String string) Perform URL encoding. Assumes 8859 charset
| |
| encodeString | back to summary |
|---|---|
| public static String encodeString(String string, String charset) Perform URL encoding.
| |