Home
last modified time | relevance | path

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

12

/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.java661 String contentLength = responseHeaders.get("Content-Length"); in response() local
696 private final String contentLength; field in CacheResponseBody
699 String contentType, String contentLength) { in CacheResponseBody()
717 @Override public long contentLength() { in contentLength() method in CacheResponseBody
/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/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/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()
DRequestBodyCompression.java88 @Override public long contentLength() { in gzip() method in RequestBodyCompression.GzipRequestInterceptor
/external/nist-sip/java/javax/sip/header/
DContentLengthHeader.java9 void setContentLength(int contentLength) throws InvalidArgumentException; in setContentLength()
/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
DHttpStream.java34 Sink createRequestBody(Request request, long contentLength) throws IOException; in createRequestBody()
DRetryableSink.java70 public long contentLength() throws IOException { in contentLength() method in RetryableSink
DHttp1xStream.java87 @Override public Sink createRequestBody(Request request, long contentLength) throws IOException { in createRequestBody()
144 long contentLength = OkHeaders.contentLength(response); in getTransferStream() local
223 public Sink newFixedLengthSink(long contentLength) { in newFixedLengthSink()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java30 @Override public long contentLength() { in contentLength() method in HttpEntityBody
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpTransportSE.java95 public HttpTransportSE(String url, int timeout, int contentLength) { in HttpTransportSE()
99 public HttpTransportSE(Proxy proxy, String url, int timeout, int contentLength) { in HttpTransportSE()
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionClient.java73 String contentLength = null; in execute() local
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
DServiceConnection.java89 public void setFixedLengthStreamingMode(int contentLength); in setFixedLengthStreamingMode()
/external/nanohttpd/fileupload/src/main/java/fi/iki/elonen/
DNanoFileUpload.java65 public long contentLength() { in contentLength() method in NanoFileUpload.NanoHttpdContext
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpsURLConnectionImpl.java75 @Override public void setFixedLengthStreamingMode(long contentLength) { in setFixedLengthStreamingMode()

12