Do standard Java classes provide event-driven reads for client-side, HTTP POST requests?
Michael J. Williams
posted 1 year ago
(I apologize for this post not being in the "Beginning Java" section! I attempted to place it there.)
Core Reason for This Post
Java newbie wants to achieve client-side, HTTP POST support that includes event-driven reads. The vendor replies to the single/initial HTTP POST request with large-volume data feeds throughout the remainder of the business day.
Background and Thank You
Hello! I am new to Java and to CodeRanch. As I move through the early phases of learning Java, I am trying to port a few of my C++ classes and programs to Java. I am only a few thousand lines of code into the process. So far, so good. I am very favorably impressed with Java.
This need for "event-driven, non-blocking reads after an HTTP POST" has me completely stalled. I have a "blocking I/O" version working fine. I am guessing that many of you veterans handle the event-driven I/O concept easily (I have been spoiled by how easy this is to achieve in Qt/C++). I have searched for a solution for many days, but I am not recognizing one. Also, I want to use the core/standard classes of Java, if possible.