Home
last modified time | relevance | path

Searched defs:req_info_ptr (Results 1 – 8 of 8) sorted by relevance

/unit/src/java/nginx/unit/
H A DResponse.java37 private long req_info_ptr; field in Response
361 private static native int getStatus(long req_info_ptr); in getStatus()
406 private static native Request getRequest(long req_info_ptr); in getRequest()
421 private static native void commit(long req_info_ptr); in commit()
567 public static native int getBufferSize(long req_info_ptr); in getBufferSize()
590 private static native String getContentType(long req_info_ptr); in getContentType()
648 public static native boolean isCommitted(long req_info_ptr); in isCommitted()
665 public static native void reset(long req_info_ptr); in reset()
678 public static native void resetBuffer(long req_info_ptr); in resetBuffer()
822 public static native void log(long req_info_ptr, byte[] msg); in log()
[all …]
H A DInputStream.java10 private long req_info_ptr; field in InputStream
26 private static native int readLine(long req_info_ptr, byte[] b, int off, int len); in readLine()
35 private static native boolean isFinished(long req_info_ptr); in isFinished()
57 private static native int read(long req_info_ptr); in read()
73 private static native int read(long req_info_ptr, byte b[], int off, int len); in read()
81 private static native long skip(long req_info_ptr, long n); in skip()
89 private static native int available(long req_info_ptr); in available()
H A DOutputStream.java10 private long req_info_ptr; field in OutputStream
22 private static native void write(long req_info_ptr, int b); in write()
40 private static native void write(long req_info_ptr, byte b[], int off, int len); in write()
48 private static native void flush(long req_info_ptr); in flush()
56 private static native void close(long req_info_ptr); in close()
H A DRequest.java75 private final long req_info_ptr; field in Request
1228 private static native void upgrade(long req_info_ptr); in upgrade()
1235 private static native boolean isUpgrade(long req_info_ptr); in isUpgrade()
1265 public static native void log(long req_info_ptr, String msg, int msg_len); in log()
1274 public static native void trace(long req_info_ptr, String msg, int msg_len); in trace()
1276 private static native Response getResponse(long req_info_ptr); in getResponse()
1318 private static native void sendWsFrame(long req_info_ptr, in sendWsFrame()
1321 private static native void sendWsFrame(long req_info_ptr, in sendWsFrame()
1336 private static native void closeWs(long req_info_ptr); in closeWs()
/unit/src/java/
H A Dnxt_jni_Response.c303 nxt_java_get_response_info(jlong req_info_ptr, uint32_t extra_fields, in nxt_java_get_response_info()
420 jclass cls, jlong req_info_ptr, jarray name) in nxt_java_Response_containsHeader()
528 jlong req_info_ptr, jarray name) in nxt_java_Response_getHeaders()
607 nxt_java_Response_commit(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_Response_commit()
619 jlong req_info_ptr, jarray loc) in nxt_java_Response_sendRedirect()
666 nxt_java_response_set_header(jlong req_info_ptr, in nxt_java_response_set_header()
724 jlong req_info_ptr, jarray name, jarray value) in nxt_java_Response_setHeader()
764 jlong req_info_ptr, jarray name) in nxt_java_Response_removeHeader()
790 nxt_java_response_remove_header(jlong req_info_ptr, in nxt_java_response_remove_header()
824 jlong req_info_ptr, jarray name, jint value) in nxt_java_Response_setIntHeader()
[all …]
H A Dnxt_jni_InputStream.c91 jlong req_info_ptr, jarray out, jint off, jint len) in nxt_java_InputStream_readLine()
116 nxt_java_InputStream_isFinished(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_InputStream_isFinished()
127 nxt_java_InputStream_readByte(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_InputStream_readByte()
142 nxt_java_InputStream_read(JNIEnv *env, jclass cls, jlong req_info_ptr, in nxt_java_InputStream_read()
164 nxt_java_InputStream_skip(JNIEnv *env, jclass cls, jlong req_info_ptr, jlong n) in nxt_java_InputStream_skip()
203 nxt_java_InputStream_available(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_InputStream_available()
H A Dnxt_jni_OutputStream.c81 nxt_java_OutputStream_writeByte(JNIEnv *env, jclass cls, jlong req_info_ptr, in nxt_java_OutputStream_writeByte()
175 nxt_java_OutputStream_write(JNIEnv *env, jclass cls, jlong req_info_ptr, in nxt_java_OutputStream_write()
218 nxt_java_OutputStream_flush(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_OutputStream_flush()
233 nxt_java_OutputStream_close(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_OutputStream_close()
H A Dnxt_jni_Request.c672 nxt_java_Request_upgrade(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_Request_upgrade()
687 nxt_java_Request_isUpgrade(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_Request_isUpgrade()
698 nxt_java_Request_log(JNIEnv *env, jclass cls, jlong req_info_ptr, jstring msg, in nxt_java_Request_log()
718 nxt_java_Request_trace(JNIEnv *env, jclass cls, jlong req_info_ptr, jstring msg, in nxt_java_Request_trace()
740 nxt_java_Request_getResponse(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_Request_getResponse()
754 jlong req_info_ptr, jobject buf, jint pos, jint len, jbyte opCode, jboolean last) in nxt_java_Request_sendWsFrameBuf()
772 jlong req_info_ptr, jarray arr, jint pos, jint len, jbyte opCode, jboolean last) in nxt_java_Request_sendWsFrameArr()
795 nxt_java_Request_closeWs(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_Request_closeWs()