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` and allow processing code to automatically generate the requestId. Can be serialized or deserialized using Gson.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `java.lang.String` | `requestId` | The requestId of the request, generally automatically generated by processing code.

    - ### Fields inherited from class net.dona.doip.DoipRequestHeaders

      `attributes, authentication, clientId, input, operationId, targetId`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DoipRequestHeadersWithRequestId​(DoipRequestHeaders request)` | Copies the fields from the supplied request.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### requestId

          public java.lang.String requestId

      The requestId of the request, generally automatically generated by processing code.

  - ### Constructor Detail

    - #### DoipRequestHeadersWithRequestId

          public DoipRequestHeadersWithRequestId​(DoipRequestHeaders request)

      Copies the fields from the supplied request.
      Parameters:
        `request` - the initial segment except the requestId.