Home
last modified time | relevance | path

Searched defs:headers (Results 1 – 25 of 196) sorted by relevance

12345678

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHeadersTest.java47 Headers headers = response.headers(); in parseNameValueBlock() local
75 Headers headers = response.headers(); in readNameValueBlockDropsForbiddenHeadersSpdy3() local
89 Headers headers = response.headers(); in readNameValueBlockDropsForbiddenHeadersHttp2() local
148 Headers headers = Headers.of("\t User-Agent \n", " \r OkHttp "); in ofTrims() local
154 Headers headers = new Headers.Builder() in addParsing() local
220 Headers headers = Headers.of("User-Agent", ""); in ofAcceptsEmptyValue() local
229 Headers headers = Headers.of(namesAndValues); in ofMakesDefensiveCopy() local
267 Headers headers = Headers.of(Collections.singletonMap("User-Agent", "")); in ofMapAcceptsEmptyValue() local
272 Headers headers = Headers.of(Collections.singletonMap(" User-Agent ", "OkHttp")); in ofMapTrimsKey() local
277 Headers headers = Headers.of(Collections.singletonMap("User-Agent", " OkHttp ")); in ofMapTrimsValue() local
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java128 Headers headers = in parseCacheControlAndPragmaAreCombined() local
137 Headers headers = Headers.of("Cache-Control", value); in parseCacheControlHeaderValueIsRetained() local
143 Headers headers = Headers.of("Cache-Control", "max-age=12", "Pragma", "must-revalidate"); in parseCacheControlHeaderValueInvalidatedByPragma() local
149 Headers headers = Headers.of("Cache-Control", "max-age=12", "Cache-Control", "must-revalidate"); in parseCacheControlHeaderValueInvalidatedByTwoValues() local
155 Headers headers = Headers.of("Pragma", "must-revalidate"); in parsePragmaHeaderValueIsNotRetained() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequest.java34 private final Headers headers; field in Request
77 public Headers headers() { in headers() method in Request
85 public List<String> headers(String name) { in headers() method in Request
128 private Headers.Builder headers; field in Request.Builder
184 public Builder headers(Headers headers) { in headers() argument
DResponse.java42 private final Headers headers; field in Response
112 public List<String> headers(String name) { in headers() method in Response
125 public Headers headers() { in headers() method in Response
227 private Headers.Builder headers; field in Response.Builder
299 public Builder headers(Headers headers) { in headers() argument
/external/jetty/src/java/org/eclipse/jetty/server/
DInclusiveByteRange.java81 public static List satisfiableRanges(Enumeration headers, long size) in satisfiableRanges()
109 continue headers; in satisfiableRanges() local
130 continue headers; in satisfiableRanges() local
133 continue headers; in satisfiableRanges() local
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DInternalRewrite.java13 private final Map<String, String> headers; field in InternalRewrite
15 public InternalRewrite(Map<String, String> headers, String uri) { in InternalRewrite() argument
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRealResponseBody.java24 private final Headers headers; field in RealResponseBody
27 public RealResponseBody(Headers headers, BufferedSource source) { in RealResponseBody()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Derrordocument.py65 def __init__(self, app, status, url, headers): argument
72 def keep_status_start_response(status, headers, exc_info=None): argument
172 def change_response(status, headers, exc_info=None): argument
300 def change_response(status, headers, exc_info=None): argument
356 def eat_start_response(status, headers, exc_info=None): argument
Dresponse.py88 def has_header(headers, name): argument
98 def header_value(headers, name): argument
122 def remove_header(headers, name): argument
139 def replace_header(headers, name, value): argument
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DPushPromise.java24 private final Headers headers; field in PushPromise
27 public PushPromise(String method, String path, Headers headers, MockResponse response) { in PushPromise()
DRecordedRequest.java31 private final Headers headers; field in RecordedRequest
38 public RecordedRequest(String requestLine, Headers headers, List<Integer> chunkSizes, in RecordedRequest()
/external/apache-http/src/org/apache/http/message/
DHeaderGroup.java59 private List headers; field in HeaderGroup
128 public void setHeaders(Header[] headers) { in setHeaders()
150 Header[] headers = getHeaders(name); in getCondensedHeader() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/
DPemObject.java16 private List headers; field in PemObject
37 public PemObject(String type, List headers, byte[] content) in PemObject()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DWebSocketResponseHandler.java30 Map<String, String> headers = session.getHeaders(); in serve() local
62 Map<String, String> headers = session.getHeaders(); in isWebsocketRequested() local
69 private boolean isWebSocketConnectionHeader(Map<String, String> headers) { in isWebSocketConnectionHeader() argument
/external/apache-http/android/src/android/net/http/
DLoggingEventHandler.java43 public void headers(Headers headers) { in headers() method in LoggingEventHandler
DAndroidHttpClientConnection.java296 public StatusLine parseResponseHeader(Headers headers) in parseResponseHeader()
379 public HttpEntity receiveResponseEntity(final Headers headers) { in receiveResponseEntity()
410 private long determineLength(final Headers headers) { in determineLength()
DEventHandler.java86 public void headers(Headers headers); in headers() method
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DTestHttpResponse.java29 private Header[] headers = new Header[0]; field in TestHttpResponse
42 public TestHttpResponse(int statusCode, String responseBody, Header... headers) { in TestHttpResponse()
46 public TestHttpResponse(int statusCode, byte[] responseBody, Header... headers) { in TestHttpResponse()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DPutStreamIntegrationTest.java41 …public Response serve(String uri, Method method, Map<String, String> headers, Map<String, String> … in serve() argument
49 Map<String, String> headers = session.getHeaders(); in serve() local
/external/apache-http/src/org/apache/http/impl/io/
DAbstractMessageParser.java161 Header[] headers = new Header[headerLines.size()]; in parseHeaders() local
183 Header[] headers = AbstractMessageParser.parseHeaders( in parse() local
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java139 private static Headers createHeaders(Map<String, List<String>> headers) { in createHeaders()
279 Headers headers = extractOkHeaders(requestHeaders); in createOkRequest() local
290 final Headers headers = response.headers(); in createJavaCacheResponse() local
/external/llvm/cmake/
Dconfig-ix.cmake224 set(headers "sys/types.h") variable
227 set(headers ${headers} "inttypes.h") variable
231 set(headers ${headers} "stdint.h") variable
/external/chromium-trace/trace-viewer/perf_insights/third_party/cloudstorage/
Dtest_utils.py20 def __init__(self, status, headers, body): argument
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2109Spec.java173 List<Header> headers = new ArrayList<Header>(1); in doFormatOneHeader() local
179 List<Header> headers = new ArrayList<Header>(cookies.size()); in doFormatManyHeaders() local
/external/harfbuzz_ng/src/
Dgen-arabic-table.py12 headers = [[files[0].readline (), files[0].readline ()], [files[2].readline (), files[2].readline (… variable

12345678