Class AccessLogEntry

java.lang.Object
org.bedework.bwlogs.AccessLogEntry

public class AccessLogEntry extends Object
User: mike Date: 1/14/20 Time: 22:20
  • Field Details

    • req

      protected String req
    • curPos

      protected int curPos
    • ip

      public String ip
    • millis

      public Long millis
    • hourOfDay

      public int hourOfDay
    • normDate

      public String normDate
    • dt

      public String dt
    • method

      public String method
    • path

      public String path
    • status

      public String status
    • length

      public long length
    • userAgent

      public String userAgent
  • Constructor Details

    • AccessLogEntry

      public AccessLogEntry()
  • Method Details

    • fromString

      public static AccessLogEntry fromString(String req)
    • parse

      public Integer parse(String req)
      Parameters:
      req - log entry
      Returns:
      position we reached or null for bad record
    • millis

      public Long millis()
    • is404

      public boolean is404()
    • is500

      public boolean is500()
    • isStatus

      public boolean isStatus(String s)
    • legacyFeeder

      public boolean legacyFeeder()
    • webCache

      public boolean webCache()
    • posValid

      protected boolean posValid()
    • error

      protected void error(String format, Object... args)
    • out

      protected void out(String format, Object... args)
    • toStringSegment

      protected void toStringSegment(org.bedework.base.ToString ts)
    • toString

      public String toString()
      Overrides:
      toString in class Object