Package de.pisa.psa.rst.svc
Klasse PsaRstApiEvtLogQue.Rsp
java.lang.Object
de.pisa.psa.rst.svc.PsaRstApiEvtLogQue.Rsp
- Umschließende Klasse:
PsaRstApiEvtLogQue
response
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetDate()
get the creation datelong
get the duration since the start of the requestget 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
set the duration in milliseconds since the start of the requestvoid
setRequest
(String path, String body, String header) set the request datavoid
setResponse
(javax.ws.rs.core.Response response) set the response datatoString()
-
Konstruktordetails
-
Rsp
Constructor- Parameter:
user
- session userevt_gid
- event GID
-
-
Methodendetails
-
getDate
get the creation date- Gibt zurück:
- date
-
getUser
get the session user- Gibt zurück:
- user
-
getEventGid
get the GID of the event record- Gibt zurück:
- 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- Gibt zurück:
- time in milliseconds
-
setResponse
public void setResponse(javax.ws.rs.core.Response response) set the response data- Parameter:
response
- response
-
setRequest
set the request data- Parameter:
path
- pathbody
- body headerheader
-
-
getStatusCode
public int getStatusCode()get the status code- Gibt zurück:
- code
-
isError
public boolean isError()is the status code an error- Gibt zurück:
- true if error code
-
getStatusReason
get the reason of the status- Gibt zurück:
- reason
-
getEntity
get the entity of the response- Gibt zurück:
- entity as string
-
getRequestPath
get the request path- Gibt zurück:
- path
-
getRequestBody
get the request body- Gibt zurück:
- body
-
getRequestHeader
get the request header- Gibt zurück:
- header
-
toString
-