Interface BaseSignRequest<PayloadT,IdentityT extends Identity> 
- Type Parameters:
 PayloadT- The type of payload of the request.IdentityT- The type of the identity.
- All Known Subinterfaces:
 AsyncSignRequest<IdentityT>,SignRequest<IdentityT>
- All Known Implementing Classes:
 DefaultAsyncSignRequest,DefaultSignRequest
Base interface to represent input parameters to sign a request using 
HttpSigner, independent of payload type. See
 specific sub-interfaces SignRequest for sync payload and AsyncSignRequest for async payload.- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBaseSignRequest.Builder<B extends BaseSignRequest.Builder<B,PayloadT, IdentityT>, PayloadT, IdentityT extends Identity> A builder for aBaseSignRequest. - 
Method Summary
Modifier and TypeMethodDescriptiondefault <T> booleanhasProperty(SignerProperty<T> property) Ensure that theSignerPropertyis present in theBaseSignRequest.identity()Returns the identity.payload()Returns the body payload of the request.<T> Tproperty(SignerProperty<T> property) Returns the value of a property that theHttpSignercan use during signing.request()Returns the HTTP request object, without the request body payload.default <T> TrequireProperty(SignerProperty<T> property) Ensure that theSignerPropertyis present in theBaseSignRequest.default <T> TrequireProperty(SignerProperty<T> property, T defaultValue) Ensure that theSignerPropertyis present in theBaseSignRequest. 
- 
Method Details
- 
request
SdkHttpRequest request()Returns the HTTP request object, without the request body payload. - 
payload
Returns the body payload of the request. A payload is optional. By default, the payload will be empty. - 
identity
IdentityT identity()Returns the identity. - 
property
Returns the value of a property that theHttpSignercan use during signing. - 
hasProperty
Ensure that theSignerPropertyis present in theBaseSignRequest.The value,
BaseSignRequest, is return when present, and an exception is thrown otherwise. - 
requireProperty
Ensure that theSignerPropertyis present in theBaseSignRequest.The value,
BaseSignRequest, is return when present, and an exception is thrown otherwise. - 
requireProperty
Ensure that theSignerPropertyis present in theBaseSignRequest.The value,
BaseSignRequest, is return when present, and the default is returned otherwise. 
 -