protected FullHttpRequest newHandshakeRequest()

in src/main/java/com/amazon/neptune/gremlin/driver/sigv4/AwsSigV4ClientHandshaker.java [125:136]


    protected FullHttpRequest newHandshakeRequest() {
        final FullHttpRequest request = super.newHandshakeRequest();
        final NeptuneNettyHttpSigV4Signer sigV4Signer;
        try {
            sigV4Signer = new NeptuneNettyHttpSigV4Signer(this.sigV4Properties.getServiceRegion(),
                    awsCredentialsProvider);
            sigV4Signer.signRequest(request);
        } catch (NeptuneSigV4SignerException e) {
            throw new RuntimeException("Exception occurred while signing the request", e);
        }
        return request;
    }