Remove quotes from a string, only if the input string start with and end with the same quote character.
Simple quote of a string, escaping where needed.
Append into buf the provided string, adding quotes if needed. <p> Quoting is determined if any of the characters in the <code>delim</code> are found in the input <code>str</code>.
Create an iterator of the input string, breaking apart the string at the provided delimiters, removing quotes and triming the parts of the string as needed.
ABNF from RFC 2616, RFC 822, and RFC 6455 specified characters requiring quoting.
Provide some consistent Http header value and Extension configuration parameter quoting support. <p> While QuotedStringTokenizer exists in the utils, and works great with http header values, using it in websocket-api is undesired. <ul> <li>Using QuotedStringTokenizer would introduce a dependency to the utils that would need to be exposed via the WebAppContext classloader</li> <li>ABNF defined extension parameter parsing requirements of RFC-6455 (WebSocket) ABNF, is slightly different than the ABNF parsing defined in RFC-2616 (HTTP/1.1).</li> <li>Future HTTPbis ABNF changes for parsing will impact QuotedStringTokenizer</li> </ul> It was decided to keep this implementation separate for the above reasons.