JDK-4700783 : HTTP client: Support for streaming
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.3.0,1.3.1,5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,windows_nt,windows_2000
  • CPU: generic,x86
  • Submitted: 2002-06-11
  • Updated: 2017-05-16
  • Resolved: 2006-04-12
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Description
Name: ca25432			Date: 06/11/2002



This feature will benefit any application that must send large quantities
of data via HTTP POSTs.  Some developers have switched to using third-party HTTP
client implementations for applications (e.g., WebDAV)

Internet Printing Protocol (IPP) is also slated for Tiger (RFE 4641868).  IPP is
based upon HTTP and sends print requests (which can be very large) via HTTP
POSTs and would benefit from this feature

The feature does not require any API changes.


======================================================================



In technical terms the above translates to :-

1. When the content-length is known in advance it can be set in 
the http request headers and the entity body can be streamed to
the server.

2. When the content-length is not known in advance, but we know
that the server is a HTTP 1.1 server, then the entity body can
be chunked encoded.

See also 4635350 and 4363479.

###@###.### 2002-10-30

Comments
EVALUATION This feature *was* added to tiger under bug id 5026745 See HttpURLConnection.setXXXStreamingMode() methods for details on how to use it.
12-04-2006

EVALUATION Name: ca25432 Date: 06/11/2002 This feature has been added for Tiger release ====================================================================== This feature didn't make Tiger. ###@###.### 2004-04-05
05-04-2004