List of usage examples for com.amazonaws AmazonWebServiceResponse AmazonWebServiceResponse
AmazonWebServiceResponse
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; }