• Post Reply Bookmark Topic Watch Topic
  • New Topic

Which actions will commit a response ?  RSS feed

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