Class HttpDateGenerator


  • @Contract(threading=SAFE)
    public class HttpDateGenerator
    extends java.lang.Object
    Generates a date in the format required by the HTTP protocol.
    Since:
    4.0
    • Field Detail

      • INTERNET_MESSAGE_FORMAT

        public static final java.lang.String INTERNET_MESSAGE_FORMAT
        See Also:
        Constant Field Values
      • GMT

        @Deprecated
        public static final java.util.TimeZone GMT
        Deprecated.
        This attribute is no longer supported as a part of the public API. The time zone to use in the date header.
      • GMT_ID

        public static final java.time.ZoneId GMT_ID
    • Method Detail

      • getCurrentDate

        public java.lang.String getCurrentDate()