Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Do standard Java classes provide event-driven reads for client-side, HTTP POST requests?  RSS feed

Michael J. Williams
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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.

Thank you very much for any help you can provide!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!