title: Java library to map HTTP status code to description?
body: <p>I'm in the situation where I'm writing custom error pages for a webapp (primarily to reduce information disclosure from the servlet container's default error pages).  Since I <em>need</em> an error page for each error status code, I'm going to have to have a sensible response for each code.  As far as I can tell, these error pages don't have to be particularly user-friendly, but simply redirecting everything to a single "it went wrong" error page is going to make diagnosing problems very difficult.</p>
  
  <p>So I'm wondering if there is a Java library that provides a good mapping between HTTP status codes and a brief human-readable description of them (ideally a 2-4 word "summary", for use as a page title, as well as a 1-3 sentence message expanding on the summary).  Then I could just use this in a JSP to provide some feedback on the class of the error.  If not I'm sure I can write one myself, but if wheels have been invented I'm happy to use them.</p>