protected byte [ ] getBinaryRequestPayload ( SignableRequest < ? > request ) { if ( SdkHttpUtils . usePayloadForQueryParameters ( request ) ) { String encodedParameters = SdkHttpUtils . encodeParameters ( request ) ; if ( encodedParameters == null ) return new byte [ 0 ] ; return encodedParameters . getBytes ( UTF8 ) ; } return getBinaryRequestPayloadWithoutQueryParams ( request ) ; }
Returns the request s payload as binary data .