Package de.pisa.psa.rst.svc
Class PsaRstApiEvtLogQue.Rsp
java.lang.Object
de.pisa.psa.rst.svc.PsaRstApiEvtLogQue.Rsp
- Enclosing class:
- PsaRstApiEvtLogQue
response
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()
get the creation dateget the entity of the responseget the GID of the event recordget the request bodyget the request headerget the request pathint
get the status codeget the reason of the statusgetUser()
get the session userboolean
isError()
is the status code an errorvoid
setRequest
(String path, String body, String header) set the request datavoid
setResponse
(javax.ws.rs.core.Response response) set the response datatoString()
-
Constructor Details
-
Rsp
Constructor- Parameters:
user
- session userevt_gid
- event GID
-
-
Method Details
-
getDate
get the creation date- Returns:
- date
-
getUser
get the session user- Returns:
- user
-
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
set the request data- Parameters:
path
- pathbody
- body headerheader
-
-
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
get the reason of the status- Returns:
- reason
-
getEntity
get the entity of the response- Returns:
- entity as string
-
getRequestPath
get the request path- Returns:
- path
-
getRequestBody
get the request body- Returns:
- body
-
getRequestHeader
get the request header- Returns:
- header
-
toString
-