Home
last modified time | relevance | path

Searched refs:uri (Results 1 – 15 of 15) sorted by relevance

/unit/src/java/nginx/unit/websocket/server/
H A DWsHandshakeRequest.java149 StringBuffer uri = new StringBuffer(); in buildRequestUri() local
158 uri.append("ws"); in buildRequestUri()
160 uri.append("wss"); in buildRequestUri()
167 uri.append("://"); in buildRequestUri()
168 uri.append(req.getServerName()); in buildRequestUri()
172 uri.append(':'); in buildRequestUri()
173 uri.append(port); in buildRequestUri()
176 uri.append(req.getRequestURI()); in buildRequestUri()
179 uri.append("?"); in buildRequestUri()
180 uri.append(req.getQueryString()); in buildRequestUri()
[all …]
/unit/test/java/include/
H A Dapp.java82 String uri = request.getParameter("uri"); in doGet() local
84 if (uri != null && request.getDispatcherType() != DispatcherType.INCLUDE) { in doGet()
85 response.addHeader("X-Include", "" + uri); in doGet()
89 RequestDispatcher d = getRequestDispatcher(request, uri); in doGet()
/unit/test/java/forward/
H A Dapp.java87 String uri = request.getParameter("uri"); in doGet() local
89 if (uri != null && request.getDispatcherType() != DispatcherType.FORWARD) { in doGet()
90 response.addHeader("X-Forward-To", "" + uri); in doGet()
94 RequestDispatcher d = getRequestDispatcher(request, uri); in doGet()
/unit/go/
H A Drequest.go44 uri := GoStringN(&req.target, C.int(req.target_length))
46 URL, err := url.ParseRequestURI(uri)
57 RequestURI: uri,
/unit/src/java/nginx/unit/
H A DDynamicPathRequest.java10 public void setRequestURI(String uri); in setRequestURI() argument
H A DIncludeRequestWrapper.java66 public void setRequestURI(String uri) in setRequestURI() argument
68 request_.setAttribute_(RequestDispatcher.INCLUDE_REQUEST_URI, uri); in setRequestURI()
H A DForwardRequestWrapper.java103 public void setRequestURI(String uri) in setRequestURI() argument
105 request_.setRequestURI(uri); in setRequestURI()
H A DRequest.java459 public void setRequestURI(String uri) in setRequestURI() argument
461 trace("setRequestURI: " + uri); in setRequestURI()
463 request_uri = uri; in setRequestURI()
471 String uri = getRequestURI(); in getRequestURL() local
472 StringBuffer res = new StringBuffer("http://" + host + uri); in getRequestURL()
1042 URI uri = new URI(getRequestURI()); in getRequestDispatcher() local
1043 uri = uri.resolve(path); in getRequestDispatcher()
1045 return context.getRequestDispatcher(uri); in getRequestDispatcher()
H A DResponse.java434 URI uri = new URI(location); in sendRedirect() local
436 if (!uri.isAbsolute()) { in sendRedirect()
438 uri = req_uri.resolve(uri); in sendRedirect()
440 location = uri.toString(); in sendRedirect()
H A DContext.java941 URI uri = new URI(req.getRequestURI()); in service() local
942 String path = uri.getPath(); in service()
1074 URI uri; in handleError() local
1077 uri = new URI(context_path_ + location); in handleError()
1079 uri = new URI(req_uri).resolve(location); in handleError()
1082 req.setRequestURI(uri.getRawPath()); in handleError()
2608 public URIRequestDispatcher(URI uri)
2610 uri_ = uri;
2613 public URIRequestDispatcher(String uri)
2616 uri_ = new URI(uri);
[all …]
/unit/test/
H A Dtest_static_chroot.py33 def get_custom(self, uri, host): argument
34 return self.get(url=uri, headers={'Host': host, 'Connection': 'close'})[
/unit/src/java/nginx/unit/websocket/
H A DWsWebSocketContainer.java717 private static ByteBuffer createRequest(URI uri, Map<String,List<String>> reqHeaders) { in createRequest() argument
722 if (null == uri.getPath() || "".equals(uri.getPath())) { in createRequest()
725 result.put(uri.getRawPath().getBytes(StandardCharsets.ISO_8859_1)); in createRequest()
727 String query = uri.getRawQuery(); in createRequest()
/unit/src/
H A Dnxt_http_route.c45 nxt_conf_value_t *uri; member
309 offsetof(nxt_http_route_match_conf_t, uri),
477 if (mtcf.uri != NULL) { in nxt_http_route_match_create()
478 rule = nxt_http_route_rule_create(task, mp, mtcf.uri, 1, in nxt_http_route_match_create()
H A Dnxt_conf_validation.c1669 static nxt_str_t uri = nxt_string("$uri"); in nxt_conf_vldt_share() local
1686 temp.length = name.length + uri.length; in nxt_conf_vldt_share()
1694 nxt_memcpy(p, uri.start, uri.length); in nxt_conf_vldt_share()
/unit/
H A DCHANGES370 *) Feature: support for percent-encoding in the "uri" and "arguments"