Class HttpDateTime

java.lang.Object
org.eclipse.jetty.http.HttpDateTime

public class HttpDateTime extends Object
HTTP Date/Time parsing and formatting.

Supports the following Date/Time formats found in both RFC 9110 (HTTP Semantics) and RFC 6265 (HTTP State Management Mechanism)

  • Sun, 06 Nov 1994 08:49:37 GMT - RFC 1123 (preferred)
  • Sunday, 06-Nov-94 08:49:37 GMT - RFC 850 (obsolete)
  • Sun Nov 6 08:49:37 1994 - ANSI C's asctime() format (obsolete)