# Package net.dona.doip

- Interface Summary
  Interface | Description
  --- | ---
  InDoipMessage | A DOIP message to be read as input (for example, a response for the client, or a request for the server).
  InDoipSegment | A segment of a DOIP message to be read as input (see `InDoipMessage`).
  OutDoipMessage | A DOIP message to be written as output (for example, a request from the client, or a response from the server).

- Class Summary
  Class | Description
  --- | ---
  DoipConstants | Constants useful in processing DOIP messages.
  DoipRequestHeaders | The initial segment of a properly formed DOIP request, except the requestId which will be generated by processing code.
  DoipRequestHeadersWithRequestId | The initial segment of a properly formed DOIP request, including the requestId.
  DoipResponseHeaders | The initial segment of a properly formed DOIP request, except the requestId which will be generated by processing code.
  DoipResponseHeadersWithRequestId | The initial segment of a properly formed DOIP response, including the requestId.
  InDoipMessageFromCollection | An implementation of `InDoipMessage` constructed by supplying an explicit collection of `InDoipSegment`s.
  InDoipMessageFromJson | An implementation of `InDoipMessage` constructed by supplying a single `JsonElement`, which will lead to a single JSON segment in the message.
  InDoipMessageImpl | An implementation of `InDoipMessage` which reads a serialized DOIP message from an `InputStream`.
  InDoipSegmentFromInputStream | An implementation of `InDoipSegment` produced from in input stream; may be either a JSON segment or a bytes segment.
  InDoipSegmentFromJson | An implementation of `InDoipSegment` produced from supplied JSON, which is always a JSON segment.
  OutDoipMessageImpl | An implementation of `OutDoipMessage` which writes a serialized DOIP message into an `OutputStream`.

- Exception Summary
  Exception | Description
  --- | ---
  BadDoipException | Exception which indicates a malformed DOIP message.