public class ValidationAction extends Object
  • Field Details

    • verbose

      public final boolean verbose
    • id

      public final long id
    • log

      public final org.slf4j.Logger log
    • statusCode

      public int statusCode
    • message

      public String message
    • contentLength

      public int contentLength
    • contentType

      public String contentType
    • headers

      public Map<String,String> headers
    • request

      public jakarta.servlet.http.HttpServletRequest request
    • response

      public jakarta.servlet.http.HttpServletResponse response
  • Constructor Details

    • ValidationAction

      public ValidationAction(long id, org.slf4j.Logger log, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean verbose)
  • Method Details

    • minimize

      public void minimize()
      Reduce to a size that can be kept around for sometime
    • setStartTime

      public void setStartTime()
    • setFinishTime

      public void setFinishTime()
    • getRequest

      public jakarta.servlet.http.HttpServletRequest getRequest()
    • getResponse

      public jakarta.servlet.http.HttpServletResponse getResponse()
    • getTime

      public long getTime()
      Return the recorded time taken in milliseconds. setStartTime() and setFinishTime() must have been called.