public class Encoder extends Object
| Constructor and Description |
|---|
Encoder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
path(CharSequence s)
Encodes the given string using HTML form encoding as described in RFC 2396.
|
static String |
query(CharSequence s)
Encodes the given string using HTML form encoding as described in RFC 2396.
|
public static String path(CharSequence s) throws IllegalArgumentException
IllegalArgumentException - when illegal URI syntax is attempted.public static String query(CharSequence s) throws IllegalArgumentException
IllegalArgumentException - when illegal URI syntax is attempted.Copyright © 2023 OCPsoft. All rights reserved.