• Post Reply Bookmark Topic Watch Topic
  • New Topic

response committed  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!