Package net.dona.doip

Class DoipResponseHeaders

java.lang.Object
net.dona.doip.DoipResponseHeaders
Direct Known Subclasses:
DoipResponseHeadersWithRequestId

public class DoipResponseHeaders extends Object
The initial segment of a properly formed DOIP request, except the requestId, which will be generated by processing code. See also DoipResponseHeadersWithRequestId. Can be serialized or deserialized using Gson.
  • Field Details

    • status

      public String status
      The status code for the response; see DoipConstants for commonly used status codes.
    • attributes

      public com.google.gson.JsonObject attributes
      Attributes to be included with the response.
    • output

      public com.google.gson.JsonElement output
      Output of the operation, when supplied in "compact" form as a single JSON segment. More generally output of the operation is supplied using the remaining segments of the response.
  • Constructor Details

    • DoipResponseHeaders

      public DoipResponseHeaders()