Example usage for com.amazonaws DefaultRequest addParameter

List of usage examples for com.amazonaws DefaultRequest addParameter

Introduction

In this page you can find the example usage for com.amazonaws DefaultRequest addParameter.

Prototype

public void addParameter(String name, String value) 

Source Link

Usage

From source file:com.ghedeon.AwsInterceptor.java

License:Apache License

private void setQueryParams(@Nonnull DefaultRequest awsRequest, @Nonnull HttpUrl url) {
    for (String paramName : url.queryParameterNames()) {
        awsRequest.addParameter(paramName, url.queryParameter(paramName));
    }// w  ww  .  j a v  a 2  s  . c  o m
}