Class DateHandler

  • All Implemented Interfaces:
    HttpHandler

    @Deprecated
    public class DateHandler
    extends Object
    implements HttpHandler
    Deprecated.
    Class that adds the Date: header to a HTTP response. The current date string is cached, and is updated every second in a racey manner (i.e. it is possible for two thread to update it at once).

    This handler is deprecated, the same functionality is achieved by using the server option ALWAYS_SET_DATE. It is enabled by default.

    Author:
    Stuart Douglas