public abstract class WebHijackPreventionStrategy extends Object
Modifier and Type | Field and Description |
---|---|
static WebHijackPreventionStrategy |
COMMENTS
Wraps the string with /* *\/
|
static WebHijackPreventionStrategy |
INFINITE_LOOP
Prepends "while(1);"
|
Constructor and Description |
---|
WebHijackPreventionStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract String |
protect(String str)
Transforms the input with the desired strategy.
|
public static final WebHijackPreventionStrategy COMMENTS
public static final WebHijackPreventionStrategy INFINITE_LOOP