Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which actions will commit a response ?

 
James Adams
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please provide a list of actions/conditions which will commit a response ? I'm only aware of HttpServletResponse.sendError() and PrintWriter.flush().
Thanks in advance.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you might be including this with the .flush(), but if you output enough bytes to the buffer, then .flush() will be called "for you"... in which case, this also will commit the response.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic