Home
last modified time | relevance | path

Searched refs:jreq (Results 1 – 7 of 7) sorted by relevance

/unit/src/java/
H A Dnxt_jni_Request.h18 void nxt_java_Request_websocket(JNIEnv *env, jobject jreq, jobject jbuf,
21 void nxt_java_Request_close(JNIEnv *env, jobject jreq);
H A Dnxt_jni_Context.h18 void nxt_java_service(JNIEnv *env, jobject ctx, jobject jreq, jobject jresp);
H A Dnxt_jni.h34 jobject jreq; member
H A Dnxt_jni_Context.c112 nxt_java_service(JNIEnv *env, jobject ctx, jobject jreq, jobject jresp) in nxt_java_service() argument
114 (*env)->CallVoidMethod(env, ctx, nxt_java_Context_service, jreq, jresp); in nxt_java_service()
H A Dnxt_jni_Request.c805 (*env)->DeleteGlobalRef(env, data->jreq); in nxt_java_Request_closeWs()
812 nxt_java_Request_websocket(JNIEnv *env, jobject jreq, jobject jbuf, in nxt_java_Request_websocket() argument
815 (*env)->CallVoidMethod(env, jreq, nxt_java_Request_processWsFrame, jbuf, opcode, fin); in nxt_java_Request_websocket()
820 nxt_java_Request_close(JNIEnv *env, jobject jreq) in nxt_java_Request_close() argument
822 (*env)->CallVoidMethod(env, jreq, nxt_java_Request_closeWsSession); in nxt_java_Request_close()
H A Dnxt_jni_Response.c601 return data->jreq; in nxt_java_Response_getRequest()
/unit/src/
H A Dnxt_java.c479 jobject jreq, jresp; in nxt_java_request_handler() local
487 jreq = nxt_java_newRequest(env, java_data->ctx, req); in nxt_java_request_handler()
488 if (jreq == NULL) { in nxt_java_request_handler()
509 (*env)->DeleteLocalRef(env, jreq); in nxt_java_request_handler()
517 data->jreq = jreq; in nxt_java_request_handler()
523 nxt_java_service(env, java_data->ctx, jreq, jresp); in nxt_java_request_handler()
545 data->jreq = (*env)->NewGlobalRef(env, jreq); in nxt_java_request_handler()
553 (*env)->DeleteLocalRef(env, jreq); in nxt_java_request_handler()
574 nxt_java_Request_websocket(env, data->jreq, jbuf, in nxt_java_websocket_handler()
601 nxt_java_Request_close(env, data->jreq); in nxt_java_close_handler()
[all …]