Interface BaseSignedRequest<PayloadT>

Type Parameters:
PayloadT - The type of payload of the request.
All Known Subinterfaces:
AsyncSignedRequest, SignedRequest
All Known Implementing Classes:
DefaultAsyncSignedRequest, DefaultSignedRequest

@Immutable @ThreadSafe public interface BaseSignedRequest<PayloadT>
/** Base interface to a request that has been signed by HttpSigner, independent of payload type. See specific sub-interfaces SignedRequest for sync payload and AsyncSignedRequest for async payload.
  • Method Details

    • request

      SdkHttpRequest request()
      Returns the HTTP request object, without the request body payload.
    • payload

      Optional<PayloadT> payload()
      Returns the body payload of the request. A payload is optional. By default, the payload will be empty.