Home
last modified time | relevance | path

Searched defs:contentLength (Results 1 – 25 of 93) sorted by relevance

1234

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponseBody.java40 public abstract long contentLength() throws IOException; in contentLength() method in ResponseBody
49 long contentLength = contentLength(); in bytes() local
120 final MediaType contentType, final long contentLength, final BufferedSource content) { in create()
127 @Override public long contentLength() { in create() method in ResponseBody
DRequestBody.java35 public long contentLength() throws IOException { in contentLength() method in RequestBody
66 @Override public long contentLength() throws IOException { in create() method in RequestBody
DMultipartBuilder.java201 private long contentLength = -1L; field in MultipartBuilder.MultipartRequestBody
217 @Override public long contentLength() throws IOException { in contentLength() method in MultipartBuilder.MultipartRequestBody
261 long contentLength = body.contentLength(); in writeOrCountBytes() local
DCache.java662 String contentLength = responseHeaders.get("Content-Length"); in response() local
697 private final String contentLength; field in CacheResponseBody
700 String contentType, String contentLength) { in CacheResponseBody()
718 @Override public long contentLength() { in contentLength() method in CacheResponseBody
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DResponseBody.java44 public abstract long contentLength() throws IOException; in contentLength() method in ResponseBody
53 long contentLength = contentLength(); in bytes() local
124 final MediaType contentType, final long contentLength, final BufferedSource content) { in create()
131 @Override public long contentLength() { in create() method in ResponseBody
DRequestBody.java39 public long contentLength() throws IOException { in contentLength() method in RequestBody
70 @Override public long contentLength() throws IOException { in create() method in RequestBody
DMultipartBuilder.java203 private long contentLength = -1L; field in MultipartBuilder.MultipartRequestBody
219 @Override public long contentLength() throws IOException { in contentLength() method in MultipartBuilder.MultipartRequestBody
263 long contentLength = body.contentLength(); in writeOrCountBytes() local
DCache.java664 String contentLength = responseHeaders.get("Content-Length"); in response() local
699 private final String contentLength; field in CacheResponseBody
702 String contentType, String contentLength) { in CacheResponseBody()
720 @Override public long contentLength() { in contentLength() method in CacheResponseBody
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpPostRequestTest.java80 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in preparePostWithMultipartForm() local
125 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testPostWithMultipleMultipartFormFields() local
144 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma() local
162 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testSimplePostWithSingleMultipartFormField() local
176 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testSimpleRawPostData() local
/external/nist-sip/java/gov/nist/javax/sip/parser/
DMaxForwardsParser.java43 public MaxForwardsParser(String contentLength) { in MaxForwardsParser()
55 MaxForwards contentLength = new MaxForwards(); in parse() local
DContentLengthParser.java44 public ContentLengthParser(String contentLength) { in ContentLengthParser()
56 ContentLength contentLength = new ContentLength(); in parse() local
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpTransportSE.java92 public HttpTransportSE(String url, int timeout, int contentLength) { in HttpTransportSE()
96 public HttpTransportSE(Proxy proxy, String url, int timeout, int contentLength) { in HttpTransportSE()
191 int contentLength = 8192; // To determine the size of the response and adjust buffer size in call() local
310 private InputStream readDebug(InputStream is, int contentLength, File outputFile) in readDebug()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLength.java86 protected Integer contentLength; field in ContentLength
115 public void setContentLength(int contentLength) in setContentLength()
/external/apache-http/src/org/apache/http/impl/io/
DContentLengthOutputStream.java64 private final long contentLength; field in ContentLengthOutputStream
81 public ContentLengthOutputStream(final SessionOutputBuffer out, long contentLength) { in ContentLengthOutputStream()
DContentLengthInputStream.java83 private long contentLength; field in ContentLengthInputStream
103 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) { in ContentLengthInputStream()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DProgress.java83 @Override public long contentLength() throws IOException { in contentLength() method in Progress.ProgressResponseBody
109 void update(long bytesRead, long contentLength, boolean done); in update()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DUrlDownloaderTask.java114 int contentLength = progress[1]; in onProgressUpdate() local
153 int contentLength = connection.getContentLength(); in download() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java64 public static long contentLength(Request request) { in contentLength() method in OkHeaders
68 public static long contentLength(Response response) { in contentLength() method in OkHeaders
72 public static long contentLength(Headers headers) { in contentLength() method in OkHeaders
DRealResponseBody.java37 @Override public long contentLength() { in contentLength() method in RealResponseBody
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DOkHeaders.java66 public static long contentLength(Request request) { in contentLength() method in OkHeaders
70 public static long contentLength(Response response) { in contentLength() method in OkHeaders
74 public static long contentLength(Headers headers) { in contentLength() method in OkHeaders
DRealResponseBody.java41 @Override public long contentLength() { in contentLength() method in RealResponseBody
DHttpStream.java38 Sink createRequestBody(Request request, long contentLength) throws IOException; in createRequestBody()
/external/nist-sip/java/javax/sip/header/
DContentLengthHeader.java9 void setContentLength(int contentLength) throws InvalidArgumentException; in setContentLength()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java30 @Override public long contentLength() { in contentLength() method in HttpEntityBody
/external/volley/src/main/java/com/android/volley/toolbox/
DAdaptedHttpStack.java67 long contentLength = apacheResp.getEntity().getContentLength(); in executeRequest() local

1234