Home
last modified time | relevance | path

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

/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java64 String headerValue; in parseCacheHeaders() local
66 headerValue = headers.get("Date"); in parseCacheHeaders()
67 if (headerValue != null) { in parseCacheHeaders()
68 serverDate = parseDateAsEpoch(headerValue); in parseCacheHeaders()
71 headerValue = headers.get("Cache-Control"); in parseCacheHeaders()
72 if (headerValue != null) { in parseCacheHeaders()
74 String[] tokens = headerValue.split(",", 0); in parseCacheHeaders()
95 headerValue = headers.get("Expires"); in parseCacheHeaders()
96 if (headerValue != null) { in parseCacheHeaders()
97 serverExpires = parseDateAsEpoch(headerValue); in parseCacheHeaders()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java45 String headerValue; // Lazily computed, if absent. field in CacheControl
49 int minFreshSeconds, boolean onlyIfCached, boolean noTransform, String headerValue) { in CacheControl() argument
61 this.headerValue = headerValue; in CacheControl()
165 String headerValue = null; in parse() local
172 if (headerValue != null) { in parse()
176 headerValue = value; in parse()
242 headerValue = null; in parse()
245 mustRevalidate, maxStaleSeconds, minFreshSeconds, onlyIfCached, noTransform, headerValue); in parse()
249 String result = headerValue; in toString()
250 return result != null ? result : (headerValue = headerValue()); in toString()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCacheControl.java47 String headerValue; // Lazily computed, if absent. field in CacheControl
51 int minFreshSeconds, boolean onlyIfCached, boolean noTransform, String headerValue) { in CacheControl() argument
63 this.headerValue = headerValue; in CacheControl()
167 String headerValue = null; in parse() local
174 if (headerValue != null) { in parse()
178 headerValue = value; in parse()
244 headerValue = null; in parse()
247 mustRevalidate, maxStaleSeconds, minFreshSeconds, onlyIfCached, noTransform, headerValue); in parse()
251 String result = headerValue; in toString()
252 return result != null ? result : (headerValue = headerValue()); in toString()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java145 assertNull(cacheControl.headerValue); in parseCacheControlHeaderValueInvalidatedByPragma()
151 assertNull(cacheControl.headerValue); in parseCacheControlHeaderValueInvalidatedByTwoValues()
157 assertNull(cacheControl.headerValue); in parsePragmaHeaderValueIsNotRetained()
164 assertNull(cacheControl.headerValue); in computedHeaderValueIsCached()
166 assertEquals("max-age=172800", cacheControl.headerValue); in computedHeaderValueIsCached()
167 cacheControl.headerValue = "Hi"; in computedHeaderValueIsCached()
DCacheTest.java433 int responseCode, String headerName, String headerValue) throws Exception { in temporaryRedirectCachedWithCachingHeader() argument
436 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader()
439 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader()
/external/grpc-grpc/src/objective-c/GRPCClient/
DGRPCCall+OAuth2.m31 NSString *headerValue = self.requestHeaders[kAuthorizationHeader];
32 if ([headerValue hasPrefix:kBearerPrefix]) {
33 return [headerValue substringFromIndex:kBearerPrefix.length];
/external/opencensus-java/contrib/http_util/src/test/java/io/opencensus/contrib/http/util/
DCloudTraceFormatTest.java101 private void parseSuccess(String headerValue, SpanContext expected) in parseSuccess() argument
104 header.put(HEADER_NAME, headerValue); in parseSuccess()
109 String headerValue, Class<? extends Throwable> expectedThrown, String expectedMessage) in parseFailure() argument
112 header.put(HEADER_NAME, headerValue); in parseFailure()
/external/catch2/include/internal/
Dcatch_xmlwriter.cpp33 uint32_t headerValue(unsigned char c) { in headerValue() function
124 uint32_t value = headerValue(c); in encodeTo()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DLexer.java81 String headerValue = null; in getHeaderValue()
84 headerValue = line.substring(begin + 1); in getHeaderValue()
88 return headerValue; in getHeaderValue()
DParserFactory.java287 String headerValue = Lexer.getHeaderValue(line); in createParser() local
288 if (headerName == null || headerValue == null) in createParser()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DMetadata.java471 String headerValue = new String(value(i), US_ASCII); in toString() local
472 sb.append(headerValue); in toString()
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryImpl.java1203 String headerValue) in createHeader() argument
1211 .append(headerValue) in createHeader()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java424 int responseCode, String headerName, String headerValue) throws Exception { in temporaryRedirectCachedWithCachingHeader() argument
427 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader()
430 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader()
/external/catch2/single_include/catch2/
Dcatch.hpp12738 uint32_t headerValue(unsigned char c) { in headerValue() function
12829 uint32_t value = headerValue(c); in encodeTo()