in src/main/java/com/amazonaws/neptune/auth/NeptuneSigV4SignerBase.java [208:232]
protected SignableRequest<?> convertToSignableRequest(
final String httpMethodName,
final URI httpEndpointUri,
final String resourcePath,
final Map<String, String> httpHeaders,
final Map<String, List<String>> httpParameters,
final InputStream httpContent) throws NeptuneSigV4SignerException {
checkNotNull(httpMethodName, "Http method name must not be null");
checkNotNull(httpEndpointUri, "Http endpoint URI must not be null");
checkNotNull(httpHeaders, "Http headers must not be null");
checkNotNull(httpParameters, "Http parameters must not be null");
checkNotNull(httpContent, "Http content name must not be null");
// create the HTTP AWS SDK Signable Request and carry over information
final DefaultRequest<?> awsRequest = new DefaultRequest(NEPTUNE_SERVICE_NAME);
awsRequest.setHttpMethod(HttpMethodName.fromValue(httpMethodName));
awsRequest.setEndpoint(httpEndpointUri);
awsRequest.setResourcePath(resourcePath);
awsRequest.setHeaders(httpHeaders);
awsRequest.setParameters(httpParameters);
awsRequest.setContent(httpContent);
return awsRequest;
}