public class URLUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
decode(String s,
String enc,
boolean decodeSlash,
StringBuilder buffer)
Decodes a URL.
|
static void |
parsePathParms(String string,
HttpServerExchange exchange,
String charset,
boolean doDecode) |
static void |
parseQueryString(String string,
HttpServerExchange exchange,
String charset,
boolean doDecode) |
public static void parseQueryString(String string, HttpServerExchange exchange, String charset, boolean doDecode)
public static void parsePathParms(String string, HttpServerExchange exchange, String charset, boolean doDecode)
public static String decode(String s, String enc, boolean decodeSlash, StringBuilder buffer)
s
- The string to decodeenc
- The encodingdecodeSlash
- If slash characters should be decodedbuffer
- The string builder to use as a buffer.Copyright © 2014 JBoss by Red Hat. All rights reserved.