Package org.apache.http.protocol
Class HttpDateGenerator
java.lang.Object
org.apache.http.protocol.HttpDateGenerator
public class HttpDateGenerator extends Object
Generates a date in the format required by the HTTP protocol.
- Since:
- 4.0
- Version:
- $Revision: 548066 $
- Author:
- Oleg Kalnichevski
-
Field Summary
Fields Modifier and Type Field Description static TimeZoneGMTThe time zone to use in the date header.static StringPATTERN_RFC1123Date format pattern used to generate the header in RFC 1123 format. -
Constructor Summary
Constructors Constructor Description HttpDateGenerator() -
Method Summary
Modifier and Type Method Description StringgetCurrentDate()
-
Field Details
-
PATTERN_RFC1123
Date format pattern used to generate the header in RFC 1123 format.- See Also:
- Constant Field Values
-
GMT
The time zone to use in the date header.
-
-
Constructor Details
-
HttpDateGenerator
public HttpDateGenerator()
-
-
Method Details
-
getCurrentDate
-