Class ValidationAction


  • public class ValidationAction
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidationAction​(long id, org.slf4j.Logger log, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean verbose)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.servlet.http.HttpServletRequest getRequest()  
      javax.servlet.http.HttpServletResponse getResponse()  
      long getTime()
      Return the recorded time taken in milliseconds.
      void minimize()
      Reduce to a size that can be kept around for sometime
      void setFinishTime()  
      void setStartTime()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • verbose

        public final boolean verbose
      • id

        public final long id
      • log

        public final org.slf4j.Logger log
      • statusCode

        public int statusCode
      • message

        public java.lang.String message
      • contentLength

        public int contentLength
      • contentType

        public java.lang.String contentType
      • headers

        public java.util.Map<java.lang.String,​java.lang.String> headers
      • request

        public javax.servlet.http.HttpServletRequest request
      • response

        public javax.servlet.http.HttpServletResponse response
    • Constructor Detail

      • ValidationAction

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

      • 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 javax.servlet.http.HttpServletRequest getRequest()
      • getResponse

        public javax.servlet.http.HttpServletResponse getResponse()