public class

HttpDateGenerator

extends Object
java.lang.Object
   ↳ org.apache.http.protocol.HttpDateGenerator

Class Overview

Generates a date in the format required by the HTTP protocol.

Summary

Constants
TimeZone GMT The time zone to use in the date header.
String PATTERN_RFC1123 Date format pattern used to generate the header in RFC 1123 format.
Public Constructors
HttpDateGenerator()
Public Methods
synchronized String getCurrentDate()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final TimeZone GMT

The time zone to use in the date header.

public static final String PATTERN_RFC1123

Date format pattern used to generate the header in RFC 1123 format.

Constant Value: "EEE, dd MMM yyyy HH:mm:ss zzz"

Public Constructors

public HttpDateGenerator ()

Public Methods

public synchronized String getCurrentDate ()