Package ai.djl.serving.http
Class StatusResponse
java.lang.Object
ai.djl.serving.http.StatusResponse
A class that holds model server status.
-
Constructor Summary
ConstructorDescriptionConstructs a newStatusResponse
instance.StatusResponse
(String status) Constructs a newStatusResponse
instance with status line. -
Method Summary
-
Constructor Details
-
StatusResponse
public StatusResponse()Constructs a newStatusResponse
instance. -
StatusResponse
Constructs a newStatusResponse
instance with status line.- Parameters:
status
- the status line
-
-
Method Details
-
getStatus
Returns the status.- Returns:
- the status
-