Home
last modified time | relevance | path

Searched refs:contentLength (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DHttpURLConnection.java359 public void setFixedLengthStreamingMode (int contentLength) { in setFixedLengthStreamingMode() argument
366 if (contentLength < 0) { in setFixedLengthStreamingMode()
369 fixedContentLength = contentLength; in setFixedLengthStreamingMode()
404 public void setFixedLengthStreamingMode(long contentLength) { in setFixedLengthStreamingMode() argument
412 if (contentLength < 0) { in setFixedLengthStreamingMode()
415 fixedContentLengthLong = contentLength; in setFixedLengthStreamingMode()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSP.java243 int contentLength = con.getContentLength(); in check() local
244 if (contentLength == -1) { in check()
245 contentLength = Integer.MAX_VALUE; in check()
247 response = new byte[contentLength > 2048 ? 2048 : contentLength]; in check()
249 while (total < contentLength) { in check()
255 if (total >= response.length && total < contentLength) { in check()
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java42 private int contentLength = -1; field in URLConnection
202 int l = contentLength; in getContentLength()
217 contentLength = length; in setContentLength()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DURLConnection.java107 private int contentLength = -1; // 0xffffffff field in URLConnection