public class AjaxURLNormalizer extends Object implements URLNormalizer
Modifier and Type | Field and Description |
---|---|
static String |
AJAX_URL_PART |
static String |
ESCAPED_URL_PART |
X_POINT_ID
Constructor and Description |
---|
AjaxURLNormalizer()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
escape(String fragmentPart)
Escape some exotic characters in the fragment part
|
Configuration |
getConf() |
String |
normalize(String urlString,
String scope)
Attempts to normalize the input URL string
|
protected String |
normalizeEscapedFragment(String urlString)
Returns a normalized input URL.
|
protected String |
normalizeHashedFragment(String urlString)
Returns a normalized input URL.
|
void |
setConf(Configuration conf) |
protected String |
unescape(String fragmentPart)
Unescape some exotic characters in the fragment part
|
public static String AJAX_URL_PART
public static String ESCAPED_URL_PART
public String normalize(String urlString, String scope) throws MalformedURLException
normalize
in interface URLNormalizer
String
- urlStringMalformedURLException
protected String normalizeHashedFragment(String urlString) throws MalformedURLException
String
- urlStringMalformedURLException
protected String normalizeEscapedFragment(String urlString) throws MalformedURLException
String
- urlStringMalformedURLException
protected String unescape(String fragmentPart)
String
- fragmentPartprotected String escape(String fragmentPart)
String
- fragmentPartpublic void setConf(Configuration conf)
setConf
in interface Configurable
Configuration
- confpublic Configuration getConf()
getConf
in interface Configurable
Copyright © 2021 The Apache Software Foundation