Interface BeforePayload

All Known Subinterfaces:
BeforeHeader, BeforeKid
All Known Implementing Classes:
JWS.Signature

public interface BeforePayload
A stopover within the the workflow of the Fluent API regarding the generation of signatures.
  • Method Summary

    Modifier and Type
    Method
    Description
    payload(jakarta.json.JsonStructure payload)
    Introduces the actual payload.
    payload(String payload)
    Introduces the actual payload as string.
  • Method Details

    • payload

      SignatureEnd payload(jakarta.json.JsonStructure payload)
      Introduces the actual payload.
      Parameters:
      payload - the given payload
      Returns:
      the last step within the workflow of the Fluent API regarding the generation of signatures.
    • payload

      SignatureEnd payload(String payload)
      Introduces the actual payload as string. The string must be valid JSON at present.
      Parameters:
      payload - the given payload.
      Returns:
      the last step within the workflow of the Fluent API regarding the generation of signatures.