Package net.dona.doip

Class DoipResponseHeaders

  • Direct Known Subclasses:
    DoipResponseHeadersWithRequestId

    public class DoipResponseHeaders
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      com.google.gson.JsonObject attributes
      Attributes to be included with the response.
      com.google.gson.JsonElement output
      Output of the operation, when supplied in "compact" form as a single JSON segment.
      java.lang.String status
      The status code for the response; see DoipConstants for commonly used status codes.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • status

        public java.lang.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 Detail

      • DoipResponseHeaders

        public DoipResponseHeaders()