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

JavaRanch » Java Forums » Java » Servlets
Bookmark "Buffer" Watch "Buffer" New topic


Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 161
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Buffer
It's not a secret anymore!