Searched refs:header (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | HttpCookie.java | 98 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/ |
D | HttpCookie.java | 38 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/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 830 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/ |
D | AbstractCookiesTest.java | 385 for (String header : redirectTarget.takeRequest().getHeaders()) { in testRedirectsDoNotIncludeTooManyCookies() 386 if (header.startsWith("Cookie")) { in testRedirectsDoNotIncludeTooManyCookies() 387 fail(header); in testRedirectsDoNotIncludeTooManyCookies() 1554 Map<String, List<String>> header = new HashMap<>(); in testLenientExpiresParsing() local 1559 header.put("Set-Cookie", value); in testLenientExpiresParsing() 1560 cm.put(uri, header); in testLenientExpiresParsing() 1577 Map<String, List<String>> header = new HashMap<>(); in testClearingWithMaxAge0() local 1582 header.put("Set-Cookie", value); in testClearingWithMaxAge0() 1583 cm.put(uri, header); in testClearingWithMaxAge0() 1589 header.clear(); in testClearingWithMaxAge0() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | HttpCookieTest.java | 1012 private void checkValidValue(String header, String value) { 1014 .parse(header + "name=" + value + ";"); 1019 private void checkInvalidCookie(String header) { 1021 HttpCookie.parse(header);
|
/libcore/ |
D | LICENSE | 330 only where Oracle has expressly included in the particular source file's header
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |