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