Package org.apache.http.protocol
Class HttpDateGenerator
java.lang.Object
org.apache.http.protocol.HttpDateGenerator
Generates a date in the format required by the HTTP protocol.
- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private String
private final DateFormat
static final TimeZone
The time zone to use in the date header.static final String
Date format pattern used to generate the header in RFC 1123 format. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PATTERN_RFC1123
Date format pattern used to generate the header in RFC 1123 format.- See Also:
-
GMT
The time zone to use in the date header. -
dateformat
-
dateAsLong
private long dateAsLong -
dateAsText
-
-
Constructor Details
-
HttpDateGenerator
public HttpDateGenerator()
-
-
Method Details
-
getCurrentDate
-