Class PsaRstApiEvtLogQue.Rsp

java.lang.Object
de.pisa.psa.rst.svc.PsaRstApiEvtLogQue.Rsp
Enclosing class:
PsaRstApiEvtLogQue

public static class PsaRstApiEvtLogQue.Rsp extends Object
response
  • Constructor Details

    • Rsp

      public Rsp(String user, String evt_gid)
      Constructor
      Parameters:
      user - session user
      evt_gid - event GID
  • Method Details

    • getDate

      public String getDate()
      get the creation date
      Returns:
      date
    • getUser

      public String getUser()
      get the session user
      Returns:
      user
    • getEventGid

      public String getEventGid()
      get the GID of the event record
      Returns:
      GID
    • setDuration

      public void setDuration()
      set the duration in milliseconds since the start of the request
    • getDuration

      public long getDuration()
      get the duration since the start of the request
      Returns:
      time in milliseconds
    • setResponse

      public void setResponse(javax.ws.rs.core.Response response)
      set the response data
      Parameters:
      response - response
    • setRequest

      public void setRequest(String path, String body, String header)
      set the request data
      Parameters:
      path - path
      body - body header
      header -
    • getStatusCode

      public int getStatusCode()
      get the status code
      Returns:
      code
    • isError

      public boolean isError()
      is the status code an error
      Returns:
      true if error code
    • getStatusReason

      public String getStatusReason()
      get the reason of the status
      Returns:
      reason
    • getEntity

      public String getEntity()
      get the entity of the response
      Returns:
      entity as string
    • getRequestPath

      public String getRequestPath()
      get the request path
      Returns:
      path
    • getRequestBody

      public String getRequestBody()
      get the request body
      Returns:
      body
    • getRequestHeader

      public String getRequestHeader()
      get the request header
      Returns:
      header
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: