Searched refs:headerValue (Results 1 – 10 of 10) sorted by relevance
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | CacheControl.java | 45 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/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CacheControlTest.java | 145 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()
|
D | CacheTest.java | 433 int responseCode, String headerName, String headerValue) throws Exception { in temporaryRedirectCachedWithCachingHeader() argument 436 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader() 439 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader()
|
/external/jetty/src/java/org/eclipse/jetty/servlets/ |
D | BalancerServlet.java | 361 …protected String filterResponseHeaderValue(String headerName, String headerValue, HttpServletReque… in filterResponseHeaderValue() argument 365 HttpURI locationURI = new HttpURI(headerValue); in filterResponseHeaderValue() 378 return headerValue; in filterResponseHeaderValue() 382 return headerValue; in filterResponseHeaderValue()
|
D | ProxyServlet.java | 816 …protected String filterResponseHeaderValue(String headerName, String headerValue, HttpServletReque… in filterResponseHeaderValue() argument 818 return headerValue; in filterResponseHeaderValue()
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
D | AbstractConnector.java | 492 String headerValue = fields.getStringField(header); in getLeftMostFieldValue() 494 if (headerValue == null) in getLeftMostFieldValue() 497 int commaIndex = headerValue.indexOf(','); in getLeftMostFieldValue() 502 return headerValue; in getLeftMostFieldValue() 506 return headerValue.substring(0,commaIndex); in getLeftMostFieldValue()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | Lexer.java | 81 String headerValue = null; in getHeaderValue() 84 headerValue = line.substring(begin + 1); in getHeaderValue() 88 return headerValue; in getHeaderValue()
|
D | ParserFactory.java | 287 String headerValue = Lexer.getHeaderValue(line); in createParser() local 288 if (headerName == null || headerValue == null) in createParser()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | HeaderFactoryImpl.java | 1203 String headerValue) in createHeader() argument 1211 .append(headerValue) in createHeader()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 424 int responseCode, String headerName, String headerValue) throws Exception { in temporaryRedirectCachedWithCachingHeader() argument 427 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader() 430 .addHeader(headerName, headerValue) in temporaryRedirectCachedWithCachingHeader()
|