public class HttpRules extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
allow_http_url |
List<HttpRule> |
copy_session_field |
static String |
DEBUG_RULES |
List<HttpRule> |
remove |
List<HttpRule> |
remove_if |
List<HttpRule> |
remove_if_found |
List<HttpRule> |
remove_unless |
List<HttpRule> |
remove_unless_found |
List<HttpRule> |
replace |
List<HttpRule> |
sample |
int |
size |
boolean |
skip_compression |
boolean |
skip_submission |
static String |
STANDARD_RULES |
List<HttpRule> |
stop |
List<HttpRule> |
stop_if |
List<HttpRule> |
stop_if_found |
List<HttpRule> |
stop_unless |
List<HttpRule> |
stop_unless_found |
static String |
STRICT_RULES |
String |
text |
| Constructor and Description |
|---|
HttpRules(String rules)
Initialize a new set of rules.
|
| Modifier and Type | Method and Description |
|---|---|
List<String[]> |
apply(List<String[]> details)
Apply current rules to message details.
|
static String |
getDebugRules()
Rules providing all details for debugging an application.
|
static String |
getDefaultRules()
Returns rules used by default when none are declared.
|
static String |
getStandardRules()
Rules that block common kinds of sensitive data.
|
static String |
getStrictRules()
Rules providing minimal details, used by default.
|
static HttpRule |
parseRule(String r)
Parses rule from single line.
|
static void |
setDefaultRules(String r)
Updates rules used by default when none are declared.
|
public static final String DEBUG_RULES
public static final String STANDARD_RULES
public static final String STRICT_RULES
public final boolean allow_http_url
public final boolean skip_compression
public final boolean skip_submission
public final int size
public final String text
public HttpRules(String rules)
public static String getDefaultRules()
public static void setDefaultRules(String r)
public static String getDebugRules()
public static String getStandardRules()
public static String getStrictRules()
Copyright © 2019 resurface.io. All rights reserved.