@Namespace(value="modsecurity") @NoOffset @Properties(inherit=modsecurity.class) public class RulesSet extends RulesSetProperties
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
AbortOnFailedRemoteRulesAction, DetectionOnlyRuleEngine, DisabledRuleEngine, EnabledRuleEngine, FalseConfigBoolean, ProcessPartialBodyLimitAction, PropertyNotSetBodyLimitAction, PropertyNotSetConfigBoolean, PropertyNotSetRemoteRulesAction, PropertyNotSetRuleEngine, RejectBodyLimitAction, TrueConfigBoolean, WarnOnFailedRemoteRulesAction
Constructor and Description |
---|
RulesSet() |
RulesSet(DebugLog customLog) |
RulesSet(long size)
Native array allocator.
|
RulesSet(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(int level,
BytePointer id,
BytePointer uri,
BytePointer msg) |
void |
debug(int level,
String id,
String uri,
String msg) |
void |
dump() |
int |
evaluate(int phase,
Transaction transaction) |
BytePointer |
getParserError() |
RulesSet |
getPointer(long i) |
int |
load(BytePointer rules) |
int |
load(BytePointer rules,
BytePointer ref) |
int |
load(String rules) |
int |
load(String rules,
String ref) |
int |
loadFromUri(BytePointer uri) |
int |
loadFromUri(String uri) |
int |
loadRemote(BytePointer key,
BytePointer uri) |
int |
loadRemote(String key,
String uri) |
int |
merge(Driver driver) |
int |
merge(RulesSet rules) |
RulesSet |
position(long position) |
configBooleanString, m_argumentsLimit, m_argumentsLimit, m_auditLog, m_auditLog, m_components, m_components, m_debugLog, m_debugLog, m_exceptions, m_exceptions, m_httpblKey, m_httpblKey, m_remoteRulesActionOnFailed, m_remoteRulesActionOnFailed, m_requestBodyJsonDepthLimit, m_requestBodyJsonDepthLimit, m_requestBodyLimit, m_requestBodyLimit, m_requestBodyLimitAction, m_requestBodyLimitAction, m_requestBodyNoFilesLimit, m_requestBodyNoFilesLimit, m_responseBodyLimit, m_responseBodyLimit, m_responseBodyLimitAction, m_responseBodyLimitAction, m_responseBodyTypeToBeInspected, m_responseBodyTypeToBeInspected, m_secArgumentSeparator, m_secArgumentSeparator, m_secRequestBodyAccess, m_secRequestBodyAccess, m_secResponseBodyAccess, m_secResponseBodyAccess, m_secRuleEngine, m_secRuleEngine, m_secWebAppId, m_secWebAppId, m_secXMLExternalEntity, m_secXMLExternalEntity, m_tmpSaveUploadedFiles, m_tmpSaveUploadedFiles, m_unicodeMapTable, m_unicodeMapTable, m_uploadDirectory, m_uploadDirectory, m_uploadFileLimit, m_uploadFileLimit, m_uploadFileMode, m_uploadFileMode, m_uploadKeepFiles, m_uploadKeepFiles, m_uploadTmpDirectory, m_uploadTmpDirectory, ruleEngineStateString
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public RulesSet(Pointer p)
Pointer(Pointer)
.public RulesSet(long size)
Pointer.position(long)
.public RulesSet()
public RulesSet(DebugLog customLog)
public RulesSet position(long position)
position
in class RulesSetProperties
public RulesSet getPointer(long i)
getPointer
in class RulesSetProperties
public int loadFromUri(@Cast(value="const char*") BytePointer uri)
public int loadFromUri(String uri)
public int loadRemote(@Cast(value="const char*") BytePointer key, @Cast(value="const char*") BytePointer uri)
public int load(@Cast(value="const char*") BytePointer rules)
public int load(String rules)
public int load(@Cast(value="const char*") BytePointer rules, @StdString BytePointer ref)
public int load(String rules, @StdString String ref)
public void dump()
public int merge(Driver driver)
public int merge(RulesSet rules)
public int evaluate(int phase, Transaction transaction)
@StdString public BytePointer getParserError()
public void debug(int level, @StdString BytePointer id, @StdString BytePointer uri, @StdString BytePointer msg)
public void debug(int level, @StdString String id, @StdString String uri, @StdString String msg)
Copyright © 2022. All rights reserved.