Class RequestEntry


  • public class RequestEntry
    extends Object
    • Constructor Detail

      • RequestEntry

        public RequestEntry​(String remoteAddress,
                            javax.servlet.http.HttpServletRequest request,
                            String uri,
                            String protocol,
                            boolean proxy)
    • Method Detail

      • getDuration

        public long getDuration()
      • getId

        public long getId()
      • getProtocol

        public String getProtocol()
      • getRemoteAddress

        public String getRemoteAddress()
      • getRequest

        public javax.servlet.http.HttpServletRequest getRequest()
      • getRequestData

        public RequestData getRequestData()
        Non-null only if the underlying getUri() is not static file. In this case, getStaticUri() will always be null.
      • getStartTime

        public Date getStartTime()
      • getStaticUri

        public String getStaticUri()
        Non-null only if the underlying getUri() is a static file. In this case, getRequestData() will always be null.
      • getUri

        public String getUri()
        Returns the underlying request URI, never null
      • isProxy

        public boolean isProxy()
      • isStatic

        public boolean isStatic()
        Indicates if the underlying getUri() represents a static file
      • setId

        public void setId​(long id)
      • setRequestData

        public void setRequestData​(RequestData requestData)