Package net.dona.doip

Class DoipRequestHeadersWithRequestId

java.lang.Object
net.dona.doip.DoipRequestHeaders
net.dona.doip.DoipRequestHeadersWithRequestId

public class DoipRequestHeadersWithRequestId extends DoipRequestHeaders
The initial segment of a properly formed DOIP request, including the requestId. Generally it should suffice to produce a DoipRequestHeaders object and allow processing code to automatically generate the requestId. Can be serialized or deserialized using Gson.
  • Field Details

    • requestId

      public String requestId
      The requestId of the request, generally automatically generated by processing code.
  • Constructor Details

    • DoipRequestHeadersWithRequestId

      public DoipRequestHeadersWithRequestId(DoipRequestHeaders request)
      Copies the fields from the supplied request.
      Parameters:
      request - the initial segment except the requestId