Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 38) sorted by relevance

12

/unit/src/java/nginx/unit/websocket/pojo/
H A DLocalStrings.properties17 pojoEndpointBase.onCloseFail=Failed to call onClose method of POJO end point for POJO of type [{0}]
19 pojoEndpointBase.onErrorFail=Failed to call onError method of POJO end point for POJO of type [{0}]
20 pojoEndpointBase.onOpenFail=Failed to call onOpen method of POJO end point for POJO of type [{0}]
24 pojoMethodMapping.duplicateLastParam=Multiple boolean (last) parameters present on the method [{0}]…
25 pojoMethodMapping.duplicateMessageParam=Multiple message parameters present on the method [{0}] of …
27 pojoMethodMapping.duplicateSessionParam=Multiple session parameters present on the method [{0}] of …
30 pojoMethodMapping.methodNotPublic=The annotated method [{0}] is not public
31 pojoMethodMapping.noPayload=No payload parameter present on the method [{0}] of class [{1}] that wa…
32 pojoMethodMapping.onErrorNoThrowable=No Throwable parameter was present on the method [{0}] of clas…
35 pojoMethodMapping.partialObject=Invalid Object and boolean parameters present on the method [{0}] o…
[all …]
H A DPojoMessageHandlerBase.java40 protected final Method method; field in PojoMessageHandlerBase
48 public PojoMessageHandlerBase(Object pojo, Method method, in PojoMessageHandlerBase() argument
52 this.method = method; in PojoMessageHandlerBase()
56 this.method.setAccessible(true); in PojoMessageHandlerBase()
H A DPojoMessageHandlerPartialText.java29 public PojoMessageHandlerPartialText(Object pojo, Method method, in PojoMessageHandlerPartialText() argument
32 super(pojo, method, session, params, indexPayload, convert, indexBoolean, in PojoMessageHandlerPartialText()
H A DPojoMessageHandlerPartialBinary.java30 public PojoMessageHandlerPartialBinary(Object pojo, Method method, in PojoMessageHandlerPartialBinary() argument
33 super(pojo, method, session, params, indexPayload, convert, indexBoolean, in PojoMessageHandlerPartialBinary()
H A DPojoMessageHandlerPartialBase.java40 public PojoMessageHandlerPartialBase(Object pojo, Method method, in PojoMessageHandlerPartialBase() argument
44 super(pojo, method, session, params, indexPayload, convert, in PojoMessageHandlerPartialBase()
71 result = method.invoke(pojo, parameters); in onMessage()
H A DPojoMessageHandlerWholePong.java30 public PojoMessageHandlerWholePong(Object pojo, Method method, in PojoMessageHandlerWholePong() argument
33 super(pojo, method, session, params, indexPayload, convert, in PojoMessageHandlerWholePong()
H A DPojoMessageHandlerWholeBase.java37 public PojoMessageHandlerWholeBase(Object pojo, Method method, in PojoMessageHandlerWholeBase() argument
40 super(pojo, method, session, params, indexPayload, convert, in PojoMessageHandlerWholeBase()
80 result = method.invoke(pojo, parameters); in onMessage()
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 …]
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 DPojoMessageHandlerWholeBinary.java48 public PojoMessageHandlerWholeBinary(Object pojo, Method method, in PojoMessageHandlerWholeBinary() argument
53 super(pojo, method, session, params, indexPayload, convert, in PojoMessageHandlerWholeBinary()
/unit/src/test/
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()
H A Dnxt_unit_app_test.c216 p = copy(p, nxt_unit_sptr_get(&r->method), r->method_length); in greeting_app_request_handler()
/unit/test/node/variables/
H A Dapp.js8 res.setHeader('Request-Method', req.method);
/unit/src/
H A Dnxt_unit_request.h38 nxt_unit_sptr_t method; member
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_variables.c51 *str = *r->method; in nxt_http_var_method()
H A Dnxt_http_parse.h40 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_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_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()
/unit/src/java/nginx/unit/websocket/
H A DLocalStrings.properties47 util.invalidMessageHandler=The message handler provided does not have an onMessage(Object) method
86 wsRemoteEndpoint.closedOutputStream=This method may not be called as the OutputStream has been clos…
87 wsRemoteEndpoint.closedWriter=This method may not be called as the Writer has been closed
97 …point.wrongState=The remote endpoint was in state [{0}] which is an invalid state for called method
105 wsSession.closed=The WebSocket session [{0}] has been closed and no method (apart from close()) may…
/unit/go/
H A Drequest.go58 Method: GoStringN(&req.method, C.int(req.method_length)),
/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/java/nginx/unit/websocket/server/
H A DLocalStrings.properties40 wsHttpUpgradeHandler.noPreInit=The preInit() method must be called to configure the WebSocket HttpU…
/unit/docs/
H A Dchanges.xsls3 X:output method="text";

12