wood burning stoves 2.0*
The moose likes Servlets and the fly likes Buffer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Buffer" Watch "Buffer" New topic
Author

Buffer

Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
is there any way to know if the buffer is filled?
Sunny Kumar
Ranch Hand

Joined: Oct 27, 2005
Posts: 57
Assuming that you want this so that you can know the buffer status (i.e send to client or not) I am not sure that there's a method for querying if the buffer is full, but you can use isCommitted() to check if the buffer contents have been flushed to client because that will,in anyways, happen when the buffer is full.
 
 
subject: Buffer
 
Similar Threads
Unhandled execption in EXE containing executable jar file.
TCP Socket buffer size
java haiku
Outputting help
Tomcat Startup problem