• Post Reply Bookmark Topic Watch Topic
  • New Topic

response committed

 
Meghasyam Bokam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When is the response said to be committed?
Thanks,
Meghasyam.
 
chi Lin
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The response is considered to be committed after flush() method is called.
Originally posted by Meghasyam Bokam:
Hi,
When is the response said to be committed?
Thanks,
Meghasyam.
 
Keerthi P
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Meghasyam Bokam:
Hi,
When is the response said to be committed?
Thanks,
Meghasyam.

A response is said to be committed when flush() is called either explicitly, using response.flush() or automatically, when output buffer is filled.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A response is said to be committed after its status code and headers have been written. The isCommitted method is used to check whether the response has been committed.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!