Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 38) sorted by last modified time

12

/unit/src/python/
H A Dnxt_python_asgi.c620 v = PyString_FromStringAndSize(nxt_unit_sptr_get(&r->method), in nxt_py_asgi_create_http_scope()
627 SET_ITEM(scope, method, v) in nxt_py_asgi_create_http_scope()
H A Dnxt_python_wsgi.c601 RC(nxt_python_add_sptr(pctx, nxt_py_request_method_str, &r->method, in nxt_python_get_environ()
/unit/src/ruby/
H A Dnxt_ruby.c737 nxt_ruby_add_sptr(hash_env, nxt_rb_request_method_str, &r->method, in nxt_ruby_read_request()
/unit/src/
H A Dnxt_router.c5110 + r->method->length + 1 in nxt_router_prepare_msg()
5154 req->method_length = r->method->length; in nxt_router_prepare_msg()
5155 nxt_unit_sptr_set(&req->method, p); in nxt_router_prepare_msg()
5156 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_router_prepare_msg()
H A Dnxt_http_static.c195 if (nxt_slow_path(!nxt_str_eq(r->method, "GET", 3))) { in nxt_http_static()
197 if (!nxt_str_eq(r->method, "HEAD", 4)) { in nxt_http_static()
H A Dnxt_http_route.c46 nxt_conf_value_t *method; member
315 offsetof(nxt_http_route_match_conf_t, method),
491 if (mtcf.method != NULL) { in nxt_http_route_match_create()
492 rule = nxt_http_route_rule_create(task, mp, mtcf.method, 1, in nxt_http_route_match_create()
499 rule->u.offset = offsetof(nxt_http_request_t, method); in nxt_http_route_match_create()
H A Dnxt_http_variables.c120 *str = *r->method; in nxt_http_var_method()
249 length = r->method->length + 1 + r->target.length + 1 + r->version.length; in nxt_http_var_request_line()
258 if (r->method->length != 0) { in nxt_http_var_request_line()
259 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_http_var_request_line()
H A Dnxt_http.h147 nxt_str_t *method; member
H A Dnxt_controller.c1092 if (!nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_request()
1174 if (nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_config()
1189 if (nxt_str_eq(&req->parser.method, "POST", 4)) { in nxt_controller_process_config()
1200 if (post || nxt_str_eq(&req->parser.method, "PUT", 3)) { in nxt_controller_process_config()
1313 if (nxt_str_eq(&req->parser.method, "DELETE", 6)) { in nxt_controller_process_config()
1487 if (nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_cert()
1520 if (nxt_str_eq(&req->parser.method, "PUT", 3)) { in nxt_controller_process_cert()
1544 if (nxt_str_eq(&req->parser.method, "DELETE", 6)) { in nxt_controller_process_cert()
1769 if (!nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_control()
H A Dnxt_unit.c1344 (char *) nxt_unit_sptr_get(&r->method), in nxt_unit_process_req_headers()
H A Dnxt_http_parse.c174 rp->method.start = p; in nxt_http_parse_request_line()
206 rp->method.length = p - rp->method.start; in nxt_http_parse_request_line()
215 rp->method.length = p - rp->method.start; in nxt_http_parse_request_line()
224 if (rp->method.start == p && (ch == '\r' || ch == '\n')) { in nxt_http_parse_request_line()
225 rp->method.start++; in nxt_http_parse_request_line()
230 rp->method.length = p - rp->method.start; in nxt_http_parse_request_line()
H A Dnxt_http_parse.h40 nxt_str_t method; member
H A Dnxt_h1proto.c652 r->method = &h1p->parser.method; in nxt_h1p_header_process()
664 m = h1p->parser.method.start; in nxt_h1p_header_process()
666 if (nxt_slow_path(h1p->parser.method.length != 3 in nxt_h1p_header_process()
2264 size = r->method->length + sizeof(" ") + r->target.length in nxt_h1p_peer_header_send()
2286 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_h1p_peer_header_send()
H A Dnxt_php_sapi.c1048 SG(request_info).request_method = nxt_unit_sptr_get(&r->method);
1359 nxt_php_set_sptr(req, "REQUEST_METHOD", &r->method, r->method_length,
H A Dnxt_unit_request.h38 nxt_unit_sptr_t method; member
/unit/
H A DCHANGES574 *) Feature: basic internal request routing by Host, URI, and method.
/unit/src/perl/
H A Dnxt_perl_psgi.c51 const char *method, nxt_unit_request_info_t *req);
368 nxt_perl_psgi_call_method(PerlInterpreter *my_perl, SV *obj, const char *method, in nxt_perl_psgi_call_method() argument
382 call_method(method, G_EVAL|G_SCALAR); in nxt_perl_psgi_call_method()
388 method, SvPV_nolen(ERRSV)); in nxt_perl_psgi_call_method()
625 &r->method, r->method_length)); in nxt_perl_psgi_env_create()
/unit/src/test/
H A Dnxt_unit_app_test.c216 p = copy(p, nxt_unit_sptr_get(&r->method), r->method_length); in greeting_app_request_handler()
H A Dnxt_http_parse_test.c12 nxt_str_t method; member
723 if (rp->method.start != test->method.start in nxt_http_parse_test_request_line()
724 && !nxt_strstr_eq(&rp->method, &test->method)) in nxt_http_parse_test_request_line()
729 request, &rp->method, &test->method); in nxt_http_parse_test_request_line()
/unit/src/nodejs/unit-http/
H A Dunit.cpp606 set_named_property(request, "method", r->method, r->method_length); in create_headers()
/unit/test/node/variables/
H A Dapp.js8 res.setHeader('Request-Method', req.method);
/unit/src/java/
H A Dnxt_jni_Request.c388 return (*env)->NewStringUTF(env, nxt_unit_sptr_get(&r->method)); in nxt_java_Request_getMethod()
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoMessageHandlerWholeText.java48 public PojoMessageHandlerWholeText(Object pojo, Method method, in PojoMessageHandlerWholeText() argument
53 super(pojo, method, session, params, indexPayload, convert, in PojoMessageHandlerWholeText()
66 Class<?> type = method.getParameterTypes()[indexPayload]; in PojoMessageHandlerWholeText()
H A DPojoMethodMapping.java90 for (Method method : currentClazzMethods) { in PojoMethodMapping()
91 if (method.getAnnotation(OnOpen.class) != null) { in PojoMethodMapping()
92 checkPublic(method); in PojoMethodMapping()
94 open = method; in PojoMethodMapping()
105 checkPublic(method); in PojoMethodMapping()
107 close = method; in PojoMethodMapping()
118 checkPublic(method); in PojoMethodMapping()
120 error = method; in PojoMethodMapping()
131 checkPublic(method); in PojoMethodMapping()
208 for (Method method : methods) { in isOverridenWithoutAnnotation()
[all …]
/unit/src/java/nginx/unit/websocket/server/
H A DLocalStrings.properties40 wsHttpUpgradeHandler.noPreInit=The preInit() method must be called to configure the WebSocket HttpU…

12