/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 125 .setHeader("Upgrade", "websocket") in missingConnectionHeader() 126 .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")); in missingConnectionHeader() 134 .setHeader("Upgrade", "websocket") in wrongConnectionHeader() 135 .setHeader("Connection", "Downgrade") in wrongConnectionHeader() 136 .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")); in wrongConnectionHeader() 145 .setHeader("Connection", "Upgrade") in missingUpgradeHeader() 146 .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")); in missingUpgradeHeader() 155 .setHeader("Connection", "Upgrade") in wrongUpgradeHeader() 156 .setHeader("Upgrade", "Pepsi") in wrongUpgradeHeader() 157 .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 …]
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 132 .setHeader("Content-Type", "text/html")); in contentType() 134 .setHeader("Content-Type", "application/json")); in contentType() 162 .setHeader("cONTENT-tYPE", "application/json")); in contentTypeIsCaseInsensitive() 172 .setHeader("Content-Encoding", "gzip")); in contentEncoding() 175 request.setHeader("Accept-encoding", "gzip"); // Not transparent gzip. in contentEncoding() 191 .setHeader("Content-Encoding", "gzip") in jsonGzipResponse() 192 .setHeader("Content-Type", "application/json")); in jsonGzipResponse() 195 request1.setHeader("Accept-encoding", "gzip"); // Not transparent gzip. in jsonGzipResponse() 218 .setHeader("Content-Encoding", "gzip") in jsonTransparentGzipResponse() 219 .setHeader("Content-Type", "application/json")); in jsonTransparentGzipResponse()
|
/external/jetty/src/java/org/eclipse/jetty/http/gzip/ |
D | CompressedResponseWrapper.java | 202 response.setHeader("Content-Length", Long.toString(_contentLength)); in setContentLength() 362 super.setHeader("Content-Length",Long.toString(_contentLength)); in setDeferredHeaders() 365 super.setHeader("ETag",_etag); in setDeferredHeaders() 374 public void setHeader(String name, String value) in setHeader() method in CompressedResponseWrapper 377 super.setHeader(name,value); in setHeader() 388 super.setHeader(name,value); in setHeader() 397 super.setHeader(name,value); in setHeader()
|
D | AbstractCompressedStream.java | 104 _response.setHeader("Content-Length",Long.toString(length)); in setContentLength() 243 setHeader("Content-Encoding", _encoding); in doCompress() 258 setHeader("ETag",etag.substring(0,etag.length()-1)+'-'+_encoding+'"'); in doCompress() 283 setHeader("ETag",_wrapper.getETag()); in doNotCompress() 374 protected void setHeader(String name,String value) in setHeader() method in AbstractCompressedStream 376 _response.setHeader(name, value); in setHeader()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockResponse.java | 48 setHeader("Content-Length", 0); in MockResponse() 112 public MockResponse setHeader(String name, Object value) { in setHeader() method in MockResponse 135 setHeader("Content-Length", body.size()); in setBody() 239 setHeader("Connection", "Upgrade"); in withWebSocketUpgrade() 240 setHeader("Upgrade", "websocket"); in withWebSocketUpgrade()
|
/external/jetty/src/java/org/eclipse/jetty/servlets/ |
D | CrossOriginFilter.java | 340 response.setHeader(ACCESS_CONTROL_ALLOW_ORIGIN_HEADER, origin); in handleSimpleResponse() 342 response.setHeader(ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER, "true"); in handleSimpleResponse() 344 response.setHeader(ACCESS_CONTROL_EXPOSE_HEADERS_HEADER, commify(exposedHeaders)); in handleSimpleResponse() 355 response.setHeader(ACCESS_CONTROL_ALLOW_ORIGIN_HEADER, origin); in handlePreflightResponse() 357 response.setHeader(ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER, "true"); in handlePreflightResponse() 359 response.setHeader(ACCESS_CONTROL_MAX_AGE_HEADER, String.valueOf(preflightMaxAge)); in handlePreflightResponse() 360 response.setHeader(ACCESS_CONTROL_ALLOW_METHODS_HEADER, commify(allowedMethods)); in handlePreflightResponse() 361 response.setHeader(ACCESS_CONTROL_ALLOW_HEADERS_HEADER, commify(allowedHeaders)); in handlePreflightResponse()
|
D | IncludableGzipFilter.java | 145 public void setHeader(String name,String value) in setHeader() method in IncludableGzipFilter.IncludableResponseWrapper 147 super.setHeader(name,value); in setHeader() 150 response.setHeader("org.eclipse.jetty.server.include."+name,value); in setHeader() 159 setHeader(name,value); in addHeader()
|
/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()
|
D | ResponseDate.java | 74 response.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/jetty/src/java/org/eclipse/jetty/websocket/ |
D | WebSocketServletConnectionD00.java | 68 response.setHeader("Upgrade","WebSocket"); in handshake() 83 response.setHeader("Upgrade","WebSocket"); in handshake()
|
D | WebSocketServletConnectionD06.java | 43 response.setHeader("Upgrade","WebSocket"); in handshake()
|
/external/robolectric/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/jetty/src/java/org/eclipse/jetty/server/handler/ |
D | MovedContextHandler.java | 124 response.setHeader(HttpHeaders.LOCATION,location.toString()); in handle() 127 response.setHeader(HttpHeaders.EXPIRES,_expires); in handle()
|
/external/robolectric/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/jetty/src/java/org/eclipse/jetty/server/ |
D | Response.java | 319 setHeader(HttpHeaders.EXPIRES,null); in sendError() 320 setHeader(HttpHeaders.LAST_MODIFIED,null); in sendError() 321 setHeader(HttpHeaders.CACHE_CONTROL,null); in sendError() 322 setHeader(HttpHeaders.CONTENT_TYPE,null); in sendError() 323 setHeader(HttpHeaders.CONTENT_LENGTH,null); in sendError() 355 setHeader(HttpHeaders.CACHE_CONTROL, "must-revalidate,no-cache,no-store"); in sendError() 498 setHeader(HttpHeaders.LOCATION,location); in sendRedirect() 528 public void setHeader(String name, String value) in setHeader() method in Response
|
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
D | DefaultServlet.java | 514 response.setHeader(HttpHeaders.CONTENT_ENCODING,"gzip"); in doGet() 630 resp.setHeader("Allow", "GET,HEAD,POST,OPTIONS"); in doOptions() 951 response.setHeader(HttpHeaders.CONTENT_RANGE, in sendData() 966 response.setHeader(HttpHeaders.CONTENT_RANGE, in sendData() 1090 response.setHeader(HttpHeaders.CONTENT_LENGTH,Long.toString(count)); in writeHeaders() 1096 response.setHeader(HttpHeaders.ETAG,content.getETag().toString()); in writeHeaders() 1114 response.setHeader(HttpHeaders.ACCEPT_RANGES,"bytes"); in writeOptionHeaders() 1117 response.setHeader(HttpHeaders.CACHE_CONTROL,_cacheControl.toString()); in writeOptionHeaders()
|
/external/jetty/src/java/org/eclipse/jetty/security/authentication/ |
D | FormAuthenticator.java | 260 response.setHeader(HttpHeaders.CACHE_CONTROL,"No-cache"); in validateRequest() 346 response.setHeader(HttpHeaders.CACHE_CONTROL,"No-cache"); in validateRequest() 465 public void setHeader(String name, String value) in setHeader() method in FormAuthenticator.FormResponse 468 super.setHeader(name,value); in setHeader()
|