Class PsaRstApiEvtLogQue.Rsp

  • Enclosing class:
    PsaRstApiEvtLogQue

    public static class PsaRstApiEvtLogQue.Rsp
    extends java.lang.Object
    response
    • Constructor Summary

      Constructors 
      Constructor Description
      Rsp​(java.lang.String user, java.lang.String evt_gid)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDate()
      get the creation date
      java.lang.String getEntity()
      get the entity of the response
      java.lang.String getEventGid()
      get the GID of the event record
      java.lang.String getRequestBody()
      get the request body
      java.lang.String getRequestHeader()
      get the request header
      java.lang.String getRequestPath()
      get the request path
      int getStatusCode()
      get the status code
      java.lang.String getStatusReason()
      get the reason of the status
      java.lang.String getUser()
      get the session user
      boolean isError()
      is the status code an error
      void setRequest​(java.lang.String path, java.lang.String body, java.lang.String header)
      set the request data
      void setResponse​(javax.ws.rs.core.Response response)
      set the response data
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Rsp

        public Rsp​(java.lang.String user,
                   java.lang.String evt_gid)
        Constructor
        Parameters:
        user - session user
        evt_gid - event GID
    • Method Detail

      • getDate

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

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

        public java.lang.String getEventGid()
        get the GID of the event record
        Returns:
        GID
      • setResponse

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

        public void setRequest​(java.lang.String path,
                               java.lang.String body,
                               java.lang.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 java.lang.String getStatusReason()
        get the reason of the status
        Returns:
        reason
      • getEntity

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

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

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

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

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