Home
last modified time | relevance | path

Searched refs:setHeader (Results 1 – 25 of 53) sorted by relevance

123

/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java143 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 …]
DSIPRequest.java720 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 …]
DSIPMessage.java578 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 …]
DSIPResponse.java689 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/
DOkApacheClientTest.java125 .setHeader("Content-Type", "text/html")); in contentType()
127 .setHeader("Content-Type", "application/json")); in contentType()
161 .setHeader("Content-Encoding", "gzip")); in contentEncoding()
166 request1.setHeader("Accept-encoding", "gzip"); // not transparent gzip in contentEncoding()
190 .setHeader("Content-Encoding", "gzip") in jsonGzipResponse()
191 .setHeader("Content-Type", "application/json")); in jsonGzipResponse()
196 request1.setHeader("Accept-encoding", "gzip"); // not transparent gzip in jsonGzipResponse()
225 .setHeader("Content-Encoding", "gzip") in jsonTransparentGzipResponse()
226 .setHeader("Content-Type", "application/json")); in jsonTransparentGzipResponse()
/external/apache-http/src/org/apache/http/protocol/
DResponseConnControl.java84 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()
DRequestDate.java73 request.setHeader(HTTP.DATE_HEADER, httpdate); in process()
DResponseDate.java74 response.setHeader(HTTP.DATE_HEADER, httpdate); in process()
/external/apache-http/src/org/apache/http/
DHttpMessage.java133 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/
DMockResponse.java124 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/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockResponse.java117 public MockResponse setHeader(String name, Object value) { in setHeader() method in MockResponse
145 setHeader("Content-Length", body.length); in setBody()
152 setHeader("Content-Length", bodyLength); in setBody()
/external/chromium_org/third_party/webrtc/base/
Dhttpbase_unittest.cc268 data.setHeader(HH_CONTENT_TYPE, "text/plain"); in SetupDocument()
269 data.setHeader(HH_TRANSFER_ENCODING, "chunked"); in SetupDocument()
271 data.setHeader(HH_CONTENT_LENGTH, "0"); in SetupDocument()
274 data.setHeader(HH_PROXY_AUTHORIZATION, "42"); in SetupDocument()
275 data.setHeader(HH_CONNECTION, "Keep-Alive"); in SetupDocument()
Dhttpclient.cc330 request().setHeader(HH_HOST, HttpAddress(server_, false), true); in set_server()
356 request().setHeader(HH_CONTENT_LENGTH, "0", false); in start()
359 request().setHeader(HH_USER_AGENT, agent_, false); in start()
367 request().setHeader(HH_PROXY_CONNECTION, "Keep-Alive", false); in start()
369 request().setHeader(HH_CONNECTION, "Keep-Alive", false); in start()
384 request().setHeader(HH_HOST, host); in start()
782 request().setHeader(HH_PROXY_AUTHORIZATION, authorization); in onHttpComplete()
Dhttpcommon.cc467 setHeader(HH_CONTENT_TYPE, content_type); in setContent()
481 setHeader(HH_CONTENT_LENGTH, buffer); in setDocumentAndLength()
483 setHeader(HH_TRANSFER_ENCODING, "chunked"); in setDocumentAndLength()
596 setHeader(HH_CONTENT_LENGTH, "0", false); in set_success()
612 setHeader(HH_LOCATION, location); in set_redirect()
613 setHeader(HH_CONTENT_LENGTH, "0", false); in set_redirect()
620 setHeader(HH_CONTENT_LENGTH, "0", false); in set_error()
Dhttpcommon.h295 inline void setHeader(const std::string& name, const std::string& value,
341 inline void setHeader(HttpHeader header, const std::string& value,
343 setHeader(ToString(header), value, overwrite);
/external/apache-http/src/org/apache/http/message/
DAbstractHttpMessage.java111 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/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DHttpResponseStub.java87 @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/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayerTest.java67 match.setHeader(new BasicHeader("header1", "header one")); in matches__shouldMatchHeaders()
68 noMatch.setHeader(new BasicHeader("header1", "header not a match")); in matches__shouldMatchHeaders()
DTestHttpResponseTest.java115 response.setHeader(new BasicHeader("foo", "bletch")); in canOverrideExistingHeaderValue()
123 response.setHeader(new BasicHeader("foo", "bletch")); in onlyOverridesFirstHeaderValue()
/external/chromium_org/third_party/WebKit/public/platform/
DWebServiceWorkerRequest.h49 void setHeader(const WebString& key, const WebString& value);
DWebServiceWorkerResponse.h53 void setHeader(const WebString& key, const WebString& value);
/external/nist-sip/java/javax/sip/address/
DSipURI.java13 void setHeader(String name, String value); in setHeader() method
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DAbstractTest.java66 public void setHeader(String rule, String lexicalRule, String treeRule, int numOfTest, int line) { in setHeader() method in AbstractTest
/external/nist-sip/java/gov/nist/javax/sip/
DDialogFilter.java113 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()
/external/nist-sip/java/javax/sip/message/
DMessage.java21 void setHeader(Header header); in setHeader() method

123