Searched refs:CRLF (Results 1 - 14 of 14) sorted by relevance

/openjdk10/jdk/test/com/sun/net/httpserver/bugs/
H A DB6433018.java38 static final String CRLF = "\r\n"; field in class:B6433018
40 /* invalid HTTP POST with extra CRLF at end */
45 "POST /test/item HTTP/1.1"+CRLF+
46 "Keep-Alive: 300"+CRLF+
47 "Proxy-Connection: keep-alive"+CRLF+
48 "Content-Type: text/xml"+CRLF+
49 "Content-Length: 22"+CRLF+
50 "Pragma: no-cache"+CRLF+
51 "Cache-Control: no-cache"+CRLF+ CRLF
[all...]
H A DB6393710.java48 static String CRLF = "\r\n"; field in class:B6393710
54 "POST /test/foo HTTP/1.1"+CRLF+
55 "Content-Length: 22"+CRLF+
56 "Pragma: no-cache"+CRLF+
57 "Cache-Control: no-cache"+CRLF+ CRLF+
59 "POST /test/foo HTTP/1.1"+CRLF+
60 "Content-Length: 22"+CRLF+
61 "Pragma: no-cache"+CRLF+
62 "Authorization: Basic ZnJlZDpmcmVkcGFzc3dvcmQ="+CRLF
[all...]
/openjdk10/langtools/test/tools/javac/
H A DAddReferenceThis.java39 final char[] CRLF = { CR, LF}; field in class:AddReferenceThis
/openjdk10/jdk/test/sun/net/www/protocol/http/
H A DNoNTLM.java46 static final String CRLF = "\r\n"; field in class:NoNTLM
49 "HTTP/1.1 200" + CRLF +
50 "Content-Length: 0" + CRLF +
51 "Connection: close" + CRLF +
52 CRLF;
101 String reply = "HTTP/1.1 401 Unauthorized" + CRLF +
102 "Content-Length: 0"+ CRLF +
103 "Connection: close" + CRLF;
107 reply += "WWW-Authenticate: Basic realm=\"wallyworld\"" + CRLF;
114 " qop=\"auth\"" + CRLF;
[all...]
/openjdk10/jdk/test/com/sun/net/httpserver/
H A DMissingTrailingSpace.java85 final String CRLF = "\r\n";
92 writer.print("GET " + someContext + "/ HTTP/1.1" + CRLF);
95 + CRLF);
96 writer.print("Host: " + hostname + CRLF);
97 writer.print("Accept: */*" + CRLF);
98 writer.print("Connection: keep-alive" + CRLF);
99 writer.print(CRLF); // Important, else the server will expect that
/openjdk10/jdk/test/java/net/httpclient/
H A DServer.java94 * is a line of input, that was terminated by CRLF (not included)
112 final static String CRLF = "\r\n"; field in class:Server.Connection
132 while ((i=s.indexOf(CRLF)) != -1) {
158 String r1 = "HTTP/1.1 " + Integer.toString(code) + " status" + CRLF;
160 r1 += headers[i] + ": " + headers[i+1] + CRLF;
163 r1 += "Content-Length: " + Integer.toString(clen) + CRLF;
164 r1 += CRLF;
174 String r1 = "HTTP/1.1 " + Integer.toString(code) + " status" + CRLF;
176 r1 += "Content-Length: " + Integer.toString(clen) + CRLF;
177 r1 += CRLF;
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/net/www/http/
H A DChunkedOutputStream.java37 private static final byte[] CRLF = {'\r', '\n'}; field in class:ChunkedOutputStream
38 private static final int CRLF_SIZE = CRLF.length;
39 private static final byte[] FOOTER = CRLF;
77 header[hexBytes.length] = CRLF[0];
78 header[hexBytes.length+1] = CRLF[1];
101 * 3 bytes for chunk size in hex and CRLF (header) and CRLF (footer)).
190 * chunks of a following format: {Data length in Hex}{CRLF}{data}{CRLF}
196 * chunk of a following format: {space for data length}{CRLF}{dat
[all...]
/openjdk10/jdk/test/sun/security/provider/X509Factory/
H A DBadPem.java58 byte[] CRLF = new byte[] {'\r', '\n'};
/openjdk10/jdk/test/java/net/httpclient/http2/server/
H A DHttp2TestServerConnection.java311 int eol = request.indexOf(CRLF);
316 int start = request.indexOf(CRLF);
325 String[] hh = headers.split(CRLF);
703 name = CRLF + name.toLowerCase();
709 int end = headers1.indexOf(CRLF, start);
718 final static String CRLF = "\r\n"; field in class:Http2TestServerConnection
722 String headers = readUntil(CRLF + CRLF);
737 .append(CRLF);
743 .append(CRLF);
[all...]
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/
H A DHttp1Request.java251 * final chunk header and trailing CRLF of previous chunks
453 private static final byte[] CRLF = {'\r', '\n'}; field in class:Http1Request
457 return ByteBuffer.wrap(CRLF);
470 header[hexBytes.length] = CRLF[0];
471 header[hexBytes.length+1] = CRLF[1];
/openjdk10/jdk/src/java.base/share/classes/sun/security/pkcs10/
H A DPKCS10.java300 byte[] CRLF = new byte[] {'\r', '\n'};
302 out.println(Base64.getMimeEncoder(64, CRLF).encodeToString(encoded));
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DBase64.java231 private static final byte[] CRLF = new byte[] {'\r', '\n'}; field in class:Base64.Encoder
235 static final Encoder RFC2045 = new Encoder(false, CRLF, MIMELINEMAX, true);
/openjdk10/jdk/src/java.base/share/classes/sun/security/tools/keytool/
H A DMain.java107 private static final byte[] CRLF = new byte[] {'\r', '\n'}; field in class:Main
1450 out.println(Base64.getMimeEncoder(64, CRLF).encodeToString(crl.getEncodedInternal()));
2424 out.println(Base64.getMimeEncoder(64, CRLF).encodeToString(xcrl.getEncoded()));
3267 out.println(Base64.getMimeEncoder(64, CRLF).encodeToString(cert.getEncoded()));
/openjdk10/jdk/test/javax/xml/ws/8043129/
H A Djavax.mail.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/mail/ com/sun/mail/imap/ ...

Completed in 226 milliseconds