Class AbstractAccessLogValve.DateAndTimeElement

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DateAndTimeElement()
      Creates a new date and time element using CLF format.
      protected DateAndTimeElement​(java.lang.String sdf)
      Creates a new date and time element with the specified format.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addElement​(java.io.CharArrayWriter buf, java.util.Date date, Request request, Response response, long time)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateAndTimeElement

        protected DateAndTimeElement()
        Creates a new date and time element using CLF format.
      • DateAndTimeElement

        protected DateAndTimeElement​(java.lang.String sdf)
        Creates a new date and time element with the specified format.
        Parameters:
        sdf - The SimpleDateFormat pattern or special format identifier