Searched refs:ASCII (Results 1 – 8 of 8) sorted by relevance
24 import static tests.http.MockWebServer.ASCII;106 return setBody(body.getBytes(ASCII)); in setBody()120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); in setChunkedBody()121 bytesOut.write("\r\n".getBytes(ASCII)); in setChunkedBody()123 bytesOut.write("\r\n".getBytes(ASCII)); in setChunkedBody()126 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf in setChunkedBody()132 return setChunkedBody(body.getBytes(ASCII), maxChunkSize); in setChunkedBody()
63 static final String ASCII = "US-ASCII"; field in MockWebServer422 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); in writeResponse()424 out.write((header + "\r\n").getBytes(ASCII)); in writeResponse()426 out.write(("\r\n").getBytes(ASCII)); in writeResponse()
105 static final int ASCII = 1; field in FtpURLConnection343 type = ASCII; in decodePath()441 if (type == ASCII) { in getInputStream()554 if (type == ASCII) { in getOutputStream()603 type = ASCII;631 value = (type == ASCII ? "a" : type == DIR ? "d" : "i");
81 ASCII, BINARY, EBCDIC enumConstant691 setType(TransferType.ASCII); in setAsciiType()
42 charset US-ASCII US_ASCII48 alias ASCII
46 ASCII(128), enumConstant
800 if (type == TransferType.ASCII) { in createInputStream()807 if (type == TransferType.ASCII) { in createOutputStream()1670 if (type == TransferType.ASCII) { in setType()
47 * encoding: US-ASCII