Class StatusResponse

java.lang.Object
ai.djl.serving.http.StatusResponse

public class StatusResponse extends Object
A class that holds model server status.
  • Constructor Details

    • StatusResponse

      public StatusResponse()
      Constructs a new StatusResponse instance.
    • StatusResponse

      public StatusResponse(String status)
      Constructs a new StatusResponse instance with status line.
      Parameters:
      status - the status line
  • Method Details

    • getStatus

      public String getStatus()
      Returns the status.
      Returns:
      the status