Example usage for com.amazonaws AmazonWebServiceResponse AmazonWebServiceResponse

List of usage examples for com.amazonaws AmazonWebServiceResponse AmazonWebServiceResponse

Introduction

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

Prototype

AmazonWebServiceResponse

Source Link

Usage

From source file:com.ivona.services.tts.http.StreamResponseHandler.java

License:Open Source License

@Override
public AmazonWebServiceResponse<T> handle(HttpResponse response) throws Exception {
    AmazonWebServiceResponse<T> awsResponse = new AmazonWebServiceResponse<T>();
    T result = responseUnmarshaller.unmarshall(response);
    awsResponse.setResult(result);/*  ww w.  j av a 2  s.c  om*/
    return awsResponse;
}