Home
last modified time | relevance | path

Searched refs:header (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java98 private final String header; field in HttpCookie
167 private HttpCookie(String name, String value, String header) { in HttpCookie() argument
180 this.header = header; in HttpCookie()
202 public static List<HttpCookie> parse(String header) { in parse() argument
203 return parse(header, false); in parse()
210 private static List<HttpCookie> parse(String header, boolean retainHeader) { in parse() argument
212 int version = guessCookieVersion(header); in parse()
215 if (startsWithIgnoreCase(header, SET_COOKIE2)) { in parse()
216 header = header.substring(SET_COOKIE2.length()); in parse()
217 } else if (startsWithIgnoreCase(header, SET_COOKIE)) { in parse()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/net/
DHttpCookie.java38 private HttpCookie(java.lang.String name, java.lang.String value, java.lang.String header) { in HttpCookie() argument
42 public static java.util.List<java.net.HttpCookie> parse(java.lang.String header) { in parse() argument
47 java.lang.String header, boolean retainHeader) { in parse() argument
176 java.lang.String header, boolean retainHeader) { in parseInternal() argument
185 private java.lang.String header() { in header() method in HttpCookie
197 private static int guessCookieVersion(java.lang.String header) { in guessCookieVersion() argument
213 private static java.util.List<java.lang.String> splitMultiCookies(java.lang.String header) { in splitMultiCookies() argument
253 private final java.lang.String header; field in HttpCookie
256 header = null;
/libcore/ojluni/src/test/java/util/Base64/
Dplain.txt33 MIME defines a number of new RFC 822 header fields that are used to
34 describe the content of a MIME entity. These header fields occur in
37 (1) As part of a regular RFC 822 message header.
39 (2) In a MIME body part header within a multipart
42 The formal definition of these header fields is as follows:
47 ; The ordering of the header
56 ; The ordering of the header
60 The syntax of the various specific MIME header fields will be
68 In the Augmented BNF notation of RFC 822, a Content-Type header field
/libcore/tools/checkstyle/
Dlibcore-checkstyle.sh68 [ojluni/annotations]=tools/checkstyle/ojluni-src-main-header.xml
69 [ojluni/src/lambda]=tools/checkstyle/ojluni-src-main-header.xml
70 [ojluni/src/main]=tools/checkstyle/ojluni-src-main-header.xml
71 [ojluni/src/test]=tools/checkstyle/ojluni-src-test-header.xml
72 [ojluni/src/tools]=tools/checkstyle/ojluni-src-main-header.xml
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java830 List header = (List) headers.get("whatever");
831 assertNotNull(header);
833 assertEquals("you like", header.get(0));
845 header.add("hi");
1001 String header) throws IOException {
1003 String encodedString = new String(header.getBytes(), encoding);
1006 assertEquals("checking '" + header + "' with " + encoding,
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java385 for (String header : redirectTarget.takeRequest().getHeaders()) { in testRedirectsDoNotIncludeTooManyCookies()
386 if (header.startsWith("Cookie")) { in testRedirectsDoNotIncludeTooManyCookies()
387 fail(header); in testRedirectsDoNotIncludeTooManyCookies()
1561 Map<String, List<String>> header = new HashMap<>(); in testLenientExpiresParsing() local
1566 header.put("Set-Cookie", value); in testLenientExpiresParsing()
1567 cm.put(uri, header); in testLenientExpiresParsing()
1584 Map<String, List<String>> header = new HashMap<>(); in testClearingWithMaxAge0() local
1589 header.put("Set-Cookie", value); in testClearingWithMaxAge0()
1590 cm.put(uri, header); in testClearingWithMaxAge0()
1596 header.clear(); in testClearingWithMaxAge0()
[all …]
DURLConnectionTest.java3334 for (String header : list) {
3335 if (header.matches(pattern)) {
3336 fail("Header " + header + " matches " + pattern);
/libcore/tools/expected_upstream/
Dcommon_util.py130 header = entries[0].comment_lines
134 entries[0].comment_lines = header + entries[0].comment_lines
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DHttpCookieTest.java1012 private void checkValidValue(String header, String value) {
1014 .parse(header + "name=" + value + ";");
1019 private void checkInvalidCookie(String header) {
1021 HttpCookie.parse(header);
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
DMain.java314 private static void printMethods(PrintWriter w, String header, List<MethodNode> nodes) { in printMethods() argument
319 w.println(" " + header + ":"); in printMethods()
325 private static void printFields(PrintWriter w, String header, List<FieldNode> nodes) { in printFields() argument
330 w.println(" " + header + ":"); in printFields()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1079 static jobjectArray Linux_capget(JNIEnv* env, jobject, jobject header) { in Linux_capget() argument
1082 if (!ReadStructCapUserHeader(env, header, &cap_header)) { in Linux_capget()
1093 SetStructCapUserHeaderVersion(env, header, &cap_header); in Linux_capget()
1125 JNIEnv* env, jobject, jobject header, jobjectArray data) { in Linux_capset() argument
1128 if (!ReadStructCapUserHeader(env, header, &cap_header)) { in Linux_capset()
/libcore/
DLICENSE330 only where Oracle has expressly included in the particular source file's header
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/libcore/ojluni/src/main/
DLICENSE338 only where Oracle has expressly included in the particular source file's header