/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 107 .setHeader("Upgrade", "websocket") in missingConnectionHeader() 108 .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")); in missingConnectionHeader() 117 .setHeader("Upgrade", "websocket") in wrongConnectionHeader() 118 .setHeader("Connection", "Downgrade") in wrongConnectionHeader() 119 .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")); in wrongConnectionHeader() 128 .setHeader("Connection", "Upgrade") in missingUpgradeHeader() 129 .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")); in missingUpgradeHeader() 138 .setHeader("Connection", "Upgrade") in wrongUpgradeHeader() 139 .setHeader("Upgrade", "Pepsi") in wrongUpgradeHeader() 140 .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")); in wrongUpgradeHeader() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MessageFactoryImpl.java | 143 sipRequest.setHeader(userAgent); in createRequest() 199 sipRequest.setHeader((ContentType) contentType); in createRequest() 202 sipRequest.setHeader(userAgent); in createRequest() 251 sipRequest.setHeader(userAgent); in createRequest() 311 sipResponse.setHeader(userAgent); in createResponse() 360 sipResponse.setHeader((ContentType) contentType); in createResponse() 363 sipResponse.setHeader(userAgent); in createResponse() 408 sipResponse.setHeader(userAgent); in createResponse() 443 sipResponse.setHeader(server); in createResponse() 474 sipResponse.setHeader((ContentType) contentType); in createResponse() [all …]
|
D | SIPRequest.java | 720 newResponse.setHeader(MessageFactoryImpl.getDefaultServerHeader()); in createResponse() 730 newResponse.setHeader(server); in createResponse() 777 cancel.setHeader((Header) this.callIdHeader.clone()); in createCancelRequest() 778 cancel.setHeader((Header) this.toHeader.clone()); in createCancelRequest() 779 cancel.setHeader((Header) cSeqHeader.clone()); in createCancelRequest() 785 cancel.setHeader((Header) this.fromHeader.clone()); in createCancelRequest() 788 cancel.setHeader((Header) this.maxForwardsHeader.clone()); in createCancelRequest() 795 cancel.setHeader((SIPHeaderList< ? >) this.getRouteHeaders().clone()); in createCancelRequest() 798 cancel.setHeader(MessageFactoryImpl.getDefaultUserAgentHeader()); in createCancelRequest() 885 newRequest.setHeader(MessageFactoryImpl.getDefaultUserAgentHeader()); in createAckRequest() [all …]
|
D | SIPMessage.java | 578 public void setHeader(Header sipHeader) { in setHeader() method in SIPMessage 1017 this.setHeader(vList); in setVia() 1026 public void setHeader(SIPHeaderList<Via> sipHeaderList) { in setHeader() method in SIPMessage 1027 this.setHeader((Header) sipHeaderList); in setHeader() 1079 this.setHeader(maxForwards); in setMaxForwards() 1109 this.setHeader(callId); in setCallId() 1119 this.setHeader(new CallID()); in setCallId() 1146 this.setHeader(to); in setTo() 1150 this.setHeader(from); in setFrom() 1217 this.setHeader(ct); in setMessageContent() [all …]
|
D | SIPResponse.java | 689 newRequest.setHeader(via); in createRequest() 690 newRequest.setHeader(cseq); in createRequest() 730 newRequest.setHeader(MessageFactoryImpl.getDefaultUserAgentHeader()); in createRequest()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 151 .setHeader("Content-Type", "text/html")); in contentType() 153 .setHeader("Content-Type", "application/json")); in contentType() 181 .setHeader("cONTENT-tYPE", "application/json")); in contentTypeIsCaseInsensitive() 191 .setHeader("Content-Encoding", "gzip")); in contentEncoding() 194 request.setHeader("Accept-encoding", "gzip"); // Not transparent gzip. in contentEncoding() 210 .setHeader("Content-Encoding", "gzip") in jsonGzipResponse() 211 .setHeader("Content-Type", "application/json")); in jsonGzipResponse() 214 request1.setHeader("Accept-encoding", "gzip"); // Not transparent gzip. in jsonGzipResponse() 237 .setHeader("Content-Encoding", "gzip") in jsonTransparentGzipResponse() 238 .setHeader("Content-Type", "application/json")); in jsonTransparentGzipResponse()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockResponse.java | 51 setHeader("Content-Length", 0); in MockResponse() 125 public MockResponse setHeader(String name, Object value) { in setHeader() method in MockResponse 148 setHeader("Content-Length", body.size()); in setBody() 266 setHeader("Connection", "Upgrade"); in withWebSocketUpgrade() 267 setHeader("Upgrade", "websocket"); in withWebSocketUpgrade()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | ResponseConnControl.java | 84 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process() 94 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process() 104 response.setHeader(HTTP.CONN_DIRECTIVE, header.getValue()); in process()
|
D | RequestDate.java | 73 request.setHeader(HTTP.DATE_HEADER, httpdate); in process()
|
/external/apache-http/src/org/apache/http/ |
D | HttpMessage.java | 133 void setHeader(Header header); in setHeader() method 142 void setHeader(String name, String value); in setHeader() method
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockResponse.java | 124 public MockResponse setHeader(String name, Object value) { in setHeader() method in MockResponse 158 setHeader("Content-Length", body.length); in setBody() 165 setHeader("Content-Length", bodyLength); in setBody()
|
/external/okhttp/okhttp-logging-interceptor/src/test/java/com/squareup/okhttp/logging/ |
D | HttpLoggingInterceptorTest.java | 146 .setHeader("Content-Type", PLAIN)); in basicResponseBody() 314 .setHeader("Content-Type", PLAIN)); in headersResponseBody() 464 .setHeader("Content-Type", PLAIN)); in bodyResponseBody() 504 .setHeader("Content-Type", PLAIN)); in bodyResponseBodyChunked() 543 .setHeader("Content-Encoding", "gzip") in bodyResponseNotIdentityEncoded() 544 .setHeader("Content-Type", PLAIN) in bodyResponseNotIdentityEncoded()
|
/external/webrtc/webrtc/base/ |
D | httpbase_unittest.cc | 271 data.setHeader(HH_CONTENT_TYPE, "text/plain"); in SetupDocument() 272 data.setHeader(HH_TRANSFER_ENCODING, "chunked"); in SetupDocument() 274 data.setHeader(HH_CONTENT_LENGTH, "0"); in SetupDocument() 277 data.setHeader(HH_PROXY_AUTHORIZATION, "42"); in SetupDocument() 278 data.setHeader(HH_CONNECTION, "Keep-Alive"); in SetupDocument()
|
D | httpclient.cc | 329 request().setHeader(HH_HOST, HttpAddress(server_, false), true); in set_server() 355 request().setHeader(HH_CONTENT_LENGTH, "0", false); in start() 358 request().setHeader(HH_USER_AGENT, agent_, false); in start() 366 request().setHeader(HH_PROXY_CONNECTION, "Keep-Alive", false); in start() 368 request().setHeader(HH_CONNECTION, "Keep-Alive", false); in start() 383 request().setHeader(HH_HOST, host); in start() 782 request().setHeader(HH_PROXY_AUTHORIZATION, authorization); in onHttpComplete()
|
D | httpcommon.cc | 478 setHeader(HH_CONTENT_TYPE, content_type); in setContent() 492 setHeader(HH_CONTENT_LENGTH, buffer); in setDocumentAndLength() 494 setHeader(HH_TRANSFER_ENCODING, "chunked"); in setDocumentAndLength() 606 setHeader(HH_CONTENT_LENGTH, "0", false); in set_success() 621 setHeader(HH_LOCATION, location); in set_redirect() 622 setHeader(HH_CONTENT_LENGTH, "0", false); in set_redirect() 628 setHeader(HH_CONTENT_LENGTH, "0", false); in set_error()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | HttpResponseStub.java | 87 @Override public void setHeader(Header header) { in setHeader() method in HttpResponseStub 91 @Override public void setHeader(String s, String s1) { in setHeader() method in HttpResponseStub
|
/external/apache-http/src/org/apache/http/message/ |
D | AbstractHttpMessage.java | 111 public void setHeader(final Header header) { in setHeader() method in AbstractHttpMessage 116 public void setHeader(final String name, final String value) { in setHeader() method in AbstractHttpMessage
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
D | HttpResponseStub.java | 86 @Override public void setHeader(Header header) { in setHeader() method in HttpResponseStub 90 @Override public void setHeader(String s, String s1) { in setHeader() method in HttpResponseStub
|
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/ |
D | FakeHttpLayerTest.java | 59 match.setHeader(new BasicHeader("header1", "header one")); in matches_shouldMatchHeaders() 60 noMatch.setHeader(new BasicHeader("header1", "header not a match")); in matches_shouldMatchHeaders()
|
D | TestHttpResponseTest.java | 111 response.setHeader(new BasicHeader("foo", "bletch")); in canOverrideExistingHeaderValue() 119 response.setHeader(new BasicHeader("foo", "bletch")); in onlyOverridesFirstHeaderValue()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | FakeHttpLayerTest.java | 67 match.setHeader(new BasicHeader("header1", "header one")); in matches__shouldMatchHeaders() 68 noMatch.setHeader(new BasicHeader("header1", "header not a match")); in matches__shouldMatchHeaders()
|
D | TestHttpResponseTest.java | 115 response.setHeader(new BasicHeader("foo", "bletch")); in canOverrideExistingHeaderValue() 123 response.setHeader(new BasicHeader("foo", "bletch")); in onlyOverridesFirstHeaderValue()
|
/external/skqp/src/images/ |
D | SkPngEncoder.cpp | 55 bool setHeader(const SkImageInfo& srcInfo, const SkPngEncoder::Options& options); 99 bool SkPngEncoderMgr::setHeader(const SkImageInfo& srcInfo, const SkPngEncoder::Options& options) { in setHeader() function in SkPngEncoderMgr 376 if (!encoderMgr->setHeader(src.info(), options)) { in Make()
|
/external/skia/src/images/ |
D | SkPngEncoder.cpp | 55 bool setHeader(const SkImageInfo& srcInfo, const SkPngEncoder::Options& options); 99 bool SkPngEncoderMgr::setHeader(const SkImageInfo& srcInfo, const SkPngEncoder::Options& options) { in setHeader() function in SkPngEncoderMgr 376 if (!encoderMgr->setHeader(src.info(), options)) { in Make()
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | DialogFilter.java | 113 sipResponse.setHeader(serverHeader); in sendRequestPendingResponse() 118 sipResponse.setHeader(retryAfter); in sendRequestPendingResponse() 146 sipResponse.setHeader(serverHeader); in sendBadRequestResponse() 177 sipResponse.setHeader(serverHeader); in sendCallOrTransactionDoesNotExistResponse() 206 sipResponse.setHeader(serverHeader); in sendLoopDetectedResponse() 237 sipResponse.setHeader(serverHeader); in sendServerInternalErrorResponse() 243 sipResponse.setHeader(retryAfter); in sendServerInternalErrorResponse()
|