mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 18:54:23 +03:00
Java test WebApp
This commit is contained in:
committed by
Felipe Zimmerle
parent
a6c1627987
commit
b9080aad18
@@ -7,6 +7,12 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#undef org_modsecurity_ModSecurity_DONE
|
||||
#define org_modsecurity_ModSecurity_DONE -2L
|
||||
#undef org_modsecurity_ModSecurity_DECLINED
|
||||
#define org_modsecurity_ModSecurity_DECLINED -1L
|
||||
#undef org_modsecurity_ModSecurity_OK
|
||||
#define org_modsecurity_ModSecurity_OK 0L
|
||||
/*
|
||||
* Class: org_modsecurity_ModSecurity
|
||||
* Method: initialize
|
||||
@@ -31,6 +37,14 @@ JNIEXPORT jint JNICALL Java_org_modsecurity_ModSecurity_destroy
|
||||
JNIEXPORT jint JNICALL Java_org_modsecurity_ModSecurity_onRequest
|
||||
(JNIEnv *, jobject, jstring, jobject, jobject, jstring, jboolean);
|
||||
|
||||
/*
|
||||
* Class: org_modsecurity_ModSecurity
|
||||
* Method: onResponse
|
||||
* Signature: (Ljavax/servlet/ServletResponse;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_org_modsecurity_ModSecurity_onResponse
|
||||
(JNIEnv *, jobject, jobject, jobject, jstring);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user