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

private static class AssetRestServer.ResponseEnt<T> extends Object
Represents a response entity.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • ResponseEnt

      private ResponseEnt(T body, AssetRestServer.HttpStat status)
      Creates a response entity instance.
      Parameters:
      body - the body value
      status - the status
  • Method Details

    • getStatus

      private AssetRestServer.HttpStat getStatus()
      Returns the HTTP status.
      Returns:
      the HTTP status
    • getBody

      private T getBody()
      Returns the body value.
      Returns:
      the body