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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `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 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