Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 29) sorted by relevance

12

/unit/test/node/remove_header/
H A Dapp.js4 res.setHeader('Was-Header', res.hasHeader('X-Header').toString());
7 res.setHeader('Has-Header', res.hasHeader('X-Header').toString());
/unit/test/java/mirror/
H A Dapp.java26 String data = buffer.toString(); in doPost()
28 String dataLength = Integer.toString(data.length()); in doPost()
/unit/test/node/write_return/
H A Dapp.js4 .end(res.write('body').toString());
/unit/src/nodejs/unit-http/
H A Dwebsocket_connection.js332 'Illegal frame opcode 0x' + frame.opcode.toString(16) + ' ' +
364 utf8Data: frame.binaryPayload.toString('utf8')
417 utf8Data: binaryPayload.toString('utf8')
422 … 'Unexpected first opcode in fragmentation sequence: 0x' + opcode.toString(16));
494 this.closeDescription = frame.binaryPayload.toString('utf8');
511 'Unrecognized Opcode: 0x' + frame.opcode.toString(16));
530 data = bufferFromString(data.toString(), 'utf8');
562 data = bufferFromString(data.toString(), 'utf8');
H A Dwebsocket_router.js78 var pathString = path.toString();
95 var index = this.findHandlerIndex(this.pathToRegExp(path).toString(), protocol);
H A Dutils.js68 formatString = '%s - %s - ' + formatString.toString();
H A Dwebsocket_request.js390 cookieParts.push('Max-Age=' + maxage.toString(10));
471 var sanitizedValue = extraHeaders[key].toString().replace(headerSanitizeRegExp, '');
H A Dwebsocket_server.js139 else if (typeof(data.toString) === 'function') {
/unit/test/node/mirror/
H A Dapp.js5 body += chunk.toString();
/unit/test/node/promise_handler/
H A Dapp.js13 fs.appendFile(data.toString(), '', function() {});
/unit/test/node/post_variables/
H A Dapp.js5 body += chunk.toString();
/unit/test/java/header_int/
H A Dapp.java20 response.addHeader("X-Get-Int", Integer.toString(request.getIntHeader("X-Header"))); in doGet()
/unit/test/node/variables/
H A Dapp.js5 body += chunk.toString();
/unit/test/java/get_header_names/
H A Dapp.java23 response.addHeader("X-Reply-" + Integer.toString(i), in doGet()
/unit/test/java/get_headers/
H A Dapp.java23 response.addHeader("X-Reply-" + Integer.toString(i), in doGet()
/unit/src/java/nginx/unit/websocket/
H A DDigestAuthenticator.java94 return challenge.toString(); in getAuthorization()
134 return encodeMD5(preDigest.toString()); in calculateRequestDigest()
H A DWsFrameBase.java223 getLog().debug(sm.getString("wsFrame.partialHeaderComplete", Boolean.toString(fin), in processInitialHeader()
224 Integer.toString(rsv), Integer.toString(opCode), Long.toString(payloadLength))); in processInitialHeader()
343 reason = controlBufferText.toString(); in processDataControl()
390 .onMessage(messageBufferText.toString(), last); in sendMessageText()
394 .onMessage(messageBufferText.toString()); in sendMessageText()
H A DWsWebSocketContainer.java210 proxyPath = URI.create("http" + path.toString().substring(2)); in connectToServerRecursive()
212 proxyPath = URI.create("https" + path.toString().substring(3)); in connectToServerRecursive()
316 Integer.toString(httpResponse.getStatus()))); in connectToServerRecursive()
368 Integer.toString(httpResponse.status))); in connectToServerRecursive()
389 Integer.toString(redirectSet.size()), in connectToServerRecursive()
390 Integer.toString(maxRedirects))); in connectToServerRecursive()
412 Integer.toString(httpResponse.status))); in connectToServerRecursive()
436 Integer.toString(httpResponse.status))); in connectToServerRecursive()
577 byte[] bytes = request.toString().getBytes(StandardCharsets.ISO_8859_1); in createProxyRequest()
704 result.add(header.toString()); in generateExtensionHeaders()
[all …]
H A DFutureToSendHandler.java105 Long.valueOf(timeout), unit.toString().toLowerCase())); in get()
H A DPerMessageDeflate.java279 Integer.toString(serverMaxWindowBits))); in getExtensionResponse()
286 Integer.toString(clientMaxWindowBits))); in getExtensionResponse()
H A DWsRemoteEndpointImplBase.java250 throw new IllegalArgumentException(cr.toString()); in sendMessageBlock()
543 String msg = obj.toString(); in sendObject()
598 String msg = obj.toString(); in sendObjectByCompletion()
770 throw new IllegalArgumentException(cr.toString()); in write()
/unit/src/java/nginx/unit/websocket/server/
H A DWsHandshakeRequest.java184 return new URI(uri.toString()); in buildRequestUri()
188 sm.getString("wsHandshakeRequest.invalidUri", uri.toString()), e); in buildRequestUri()
H A DUriTemplate.java98 this.normalized = normalized.toString(); in UriTemplate()
/unit/src/java/javax/websocket/
H A DCloseReason.java38 public String toString() { in toString() method in CloseReason
/unit/src/java/nginx/unit/
H A DResponse.java147 buf.toString().getBytes(ISO_8859_1)); in addSetRFC6265Cookie()
437 URI req_uri = new URI(getRequest(req_info_ptr).getRequestURL().toString()); in sendRedirect()
440 location = uri.toString(); in sendRedirect()
811 String lang = locale.toString().replace('_', '-'); in setLocale()

12