Package net.dona.doip
Class DoipResponseHeaders
- java.lang.Object
-
- net.dona.doip.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 alsoDoipResponseHeadersWithRequestId
. 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; seeDoipConstants
for commonly used status codes.
-
Constructor Summary
Constructors Constructor Description DoipResponseHeaders()
-
-
-
Field Detail
-
status
public java.lang.String status
The status code for the response; seeDoipConstants
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.
-
-