We\'re using jetty as front end http server, with cache policies. I would like to be clear on the requirements:
I am trying to parse dates in RFC1123 format (T开发者_JAVA技巧hu, 21 Jan 2010 17:47:00 EST). Here is what I tried but none worked:
If I get the RFC-1123 formatted date of a DateTime object, it gives the current local time, but gives the timezone as GMT (which is inaccurate).
What is the easiest or most elegant way to convert a RFC 1123 date (Fro开发者_如何学JAVAm an HTTP-Expiration-header) to a UNIX timestamp?