OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:contentlength
(Results
26 - 50
of
114
) sorted by null
1
2
3
4
5
/external/nist-sip/java/javax/sip/message/
Message.java
35
void setContentLength(ContentLengthHeader
contentLength
);
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
HttpEntityBody.java
30
@Override public long
contentLength
() {
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
ServiceConnection.java
86
* @param
contentLength
the fixed length of the HTTP request body
89
public void setFixedLengthStreamingMode(int
contentLength
);
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
HttpsServiceConnectionSE.java
100
public void setFixedLengthStreamingMode(int
contentLength
) {
101
connection.setFixedLengthStreamingMode(
contentLength
);
HttpTransportSE.java
92
* @param
contentLength
95
public HttpTransportSE(String url, int timeout, int
contentLength
) {
99
public HttpTransportSE(Proxy proxy, String url, int timeout, int
contentLength
) {
/packages/apps/Exchange/src/com/android/exchange/utility/
WbxmlResponseLogger.java
45
protected static boolean shouldLogResponse(final long
contentLength
) {
48
return
contentLength
< MAX_LENGTH;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Transport.java
34
Sink createRequestBody(Request request, long
contentLength
) throws IOException;
OkHeaders.java
61
public static long
contentLength
(Request request) {
62
return
contentLength
(request.headers());
65
public static long
contentLength
(Response response) {
66
return
contentLength
(response.headers());
69
public static long
contentLength
(Headers headers) {
SocketConnector.java
188
long
contentLength
= OkHeaders.
contentLength
(response);
189
if (
contentLength
== -1L) {
190
contentLength
= 0L;
192
Source body = tunnelConnection.newFixedLengthSource(
contentLength
);
RetryableSink.java
70
public long
contentLength
() throws IOException {
HttpEngine.java
106
@Override public long
contentLength
() {
258
long
contentLength
= OkHeaders.
contentLength
(request);
260
if (
contentLength
> Integer.MAX_VALUE) {
265
if (
contentLength
!= -1) {
268
requestBodyOut = new RetryableSink((int)
contentLength
);
277
requestBodyOut = transport.createRequestBody(networkRequest,
contentLength
);
676
if (OkHeaders.
contentLength
(response) != -1
765
if (OkHeaders.
contentLength
(networkRequest) == -1
767
long
contentLength
= ((RetryableSink) requestBodyOut).contentLength()
[
all
...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
PipelinedMsgParser.java
292
ContentLength
cl = (
ContentLength
) sipMessage
294
int
contentLength
= 0;
296
contentLength
= cl.getContentLength();
298
contentLength
= 0;
302
Debug.println("
contentLength
" +
contentLength
);
305
if (
contentLength
== 0) {
308
||
contentLength
< this.sizeCounter) {
309
byte[] message_body = new byte[
contentLength
];
[
all
...]
/frameworks/base/core/java/android/webkit/
CacheManager.java
53
long
contentLength
;
85
return
contentLength
;
222
public void setContentLength(long
contentLength
) {
223
this.
contentLength
=
contentLength
;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Cache.java
640
String
contentLength
= responseHeaders.get("Content-Length");
652
.body(new CacheResponseBody(snapshot, contentType,
contentLength
))
675
private final String
contentLength
;
678
String contentType, String
contentLength
) {
681
this.
contentLength
=
contentLength
;
696
@Override public long
contentLength
() {
698
return
contentLength
!= null ? Long.parseLong(
contentLength
) : -1;
Call.java
250
long
contentLength
= body.
contentLength
();
251
if (
contentLength
!= -1) {
252
requestBuilder.header("Content-Length", Long.toString(
contentLength
));
/packages/apps/Browser/src/com/android/browser/
WebViewController.java
77
String mimeType, String referer, long
contentLength
);
/external/nist-sip/java/gov/nist/javax/sip/message/
SIPMessage.java
40
import gov.nist.javax.sip.header.
ContentLength
;
158
protected
ContentLength
contentLengthHeader;
243
if (!(siphdr instanceof
ContentLength
))
291
if (hisHeader instanceof
ContentLength
)
366
if (!(siphdr instanceof
ContentLength
))
427
if (!(siphdr instanceof
ContentLength
))
547
this.attachHeader(new
ContentLength
(0), false);
659
if (h instanceof
ContentLength
) {
661
ContentLength
cl = (
ContentLength
) h
[
all
...]
/libcore/luni/src/main/java/java/net/
HttpURLConnection.java
757
* fixed byte count of {@code
contentLength
}.
760
* @param
contentLength
765
* if {@code
contentLength
} is less than zero.
768
public void setFixedLengthStreamingMode(long
contentLength
) {
775
if (
contentLength
< 0) {
776
throw new IllegalArgumentException("
contentLength
< 0");
778
this.fixedContentLength = (int) Math.min(
contentLength
, Integer.MAX_VALUE);
779
this.fixedContentLengthLong =
contentLength
;
783
* Equivalent to {@code setFixedLengthStreamingMode((long)
contentLength
)},
786
public void setFixedLengthStreamingMode(int
contentLength
) {
[
all
...]
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DelegatingHttpsURLConnection.java
285
@Override public void setFixedLengthStreamingMode(int
contentLength
) {
286
delegate.setFixedLengthStreamingMode(
contentLength
);
HttpURLConnectionImpl.java
587
@Override public void setFixedLengthStreamingMode(int
contentLength
) {
588
setFixedLengthStreamingMode((long)
contentLength
);
591
@Override public void setFixedLengthStreamingMode(long
contentLength
) {
594
if (
contentLength
< 0) throw new IllegalArgumentException("
contentLength
< 0");
595
this.fixedContentLength =
contentLength
;
596
super.fixedContentLength = (int) Math.min(
contentLength
, Integer.MAX_VALUE);
/external/apache-http/android/src/android/net/http/
Headers.java
121
private long
contentLength
; // Content length of the incoming data
154
contentLength
= NO_CONTENT_LENGTH;
199
contentLength
= Long.parseLong(val);
314
return
contentLength
;
382
this.
contentLength
= value;
/external/nist-sip/java/gov/nist/javax/sip/stack/
MessageChannel.java
37
import gov.nist.javax.sip.header.
ContentLength
;
420
ContentLength
clengthHeader = new
ContentLength
(clength);
424
ContentLength
clengthHeader = new
ContentLength
(0);
/libcore/support/src/test/java/tests/http/
MockWebServer.java
344
int
contentLength
= -1;
350
if (
contentLength
== -1 && lowercaseHeader.startsWith("content-length:")) {
351
contentLength
= Integer.parseInt(header.substring(15).trim());
362
if (
contentLength
!= -1) {
364
transfer(
contentLength
, in, requestBody);
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
JavaApiConverter.java
484
public long
contentLength
() {
485
return OkHeaders.
contentLength
(okHeaders);
511
@Override public long
contentLength
() {
593
public void setFixedLengthStreamingMode(int
contentLength
) {
598
public void setFixedLengthStreamingMode(long
contentLength
) {
830
@Override public void setFixedLengthStreamingMode(long
contentLength
) {
831
delegate.setFixedLengthStreamingMode(
contentLength
);
/external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServer.java
220
boolean authenticated = false,
contentLength
= false, chunked = false;
239
if (
contentLength
) {
242
contentLength
= true;
260
if (
contentLength
&& chunked) {
Completed in 448 milliseconds
1
2
3
4
5