Class AssetRestServer.ResponseEnt<T>
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.AssetRestServer.ResponseEnt<T>
- Type Parameters:
T- the body type
- Enclosing class:
AssetRestServer
Represents a response entity.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateResponseEnt(T body, AssetRestServer.HttpStat status) Creates a response entity instance. -
Method Summary
Modifier and TypeMethodDescriptionprivate TgetBody()Returns the body value.private AssetRestServer.HttpStatReturns the HTTP status.
-
Field Details
-
status
-
body
-
-
Constructor Details
-
ResponseEnt
Creates a response entity instance.- Parameters:
body- the body valuestatus- the status
-
-
Method Details
-
getStatus
Returns the HTTP status.- Returns:
- the HTTP status
-
getBody
Returns the body value.- Returns:
- the body
-