This post originated from an RSS feed registered with Java Buzz
by Mike Kaufman.
Original Post: Some possible defects in HttpServletResponse Javadoc?
Feed Title: Closing Braces
Feed URL: https://closingbraces.net/feed/
Feed Description: After-hours notes and opinions on Java and system development.
I think there are some mistakes, inconsistencies and omissions in the Servlet API Javadoc for the HttpServletResponse sendError, sendRedirect and setStatus methods. Or at least, I'm not clear on exactly what some of the Javadoc does and doesn't mean. I've reported these to the Glassfish project via their issue tracker, but here are the gory details and how I currently interpret the existing javadoc (so that I can find this easily again and in case it's of use to anyone else).