|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.http.FastHttpDateFormat
public final class FastHttpDateFormat
Utility class to generate HTTP dates.
Constructor Summary | |
---|---|
FastHttpDateFormat()
|
Method Summary | |
---|---|
static String |
formatDate(long value,
DateFormat threadLocalformat)
Get the HTTP format of the specified date. |
static String |
getCurrentDate()
Get the current date in HTTP format. |
static long |
parseDate(String value,
DateFormat[] threadLocalformats)
Try to parse the given date as a HTTP date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FastHttpDateFormat()
Method Detail |
---|
public static final String getCurrentDate()
public static final String formatDate(long value, DateFormat threadLocalformat)
public static final long parseDate(String value, DateFormat[] threadLocalformats)
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |