Package com.yahoo.jdisc.http.filter
Class DiscFilterRequest.ThreadLocalSimpleDateFormat
java.lang.Object
java.lang.ThreadLocal<SimpleDateFormat>
com.yahoo.jdisc.http.filter.DiscFilterRequest.ThreadLocalSimpleDateFormat
- Enclosing class:
- DiscFilterRequest
protected static final class DiscFilterRequest.ThreadLocalSimpleDateFormat
extends ThreadLocal<SimpleDateFormat>
The set of SimpleDateFormat formats to use in getDateHeader().
Notice that because SimpleDateFormat is not thread-safe, we can't declare
formats[] as a static variable.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.ThreadLocal
get, remove, set, withInitial
-
Constructor Details
-
ThreadLocalSimpleDateFormat
-
-
Method Details
-
initialValue
- Overrides:
initialValue
in classThreadLocal<SimpleDateFormat>
-
parse
- Throws:
ParseException
-