Example usage for com.amazonaws.transform JsonErrorUnmarshaller JsonErrorUnmarshaller

List of usage examples for com.amazonaws.transform JsonErrorUnmarshaller JsonErrorUnmarshaller

Introduction

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

Prototype

JsonErrorUnmarshaller

Source Link

Usage

From source file:com.ivona.services.tts.IvonaSpeechCloudClient.java

License:Open Source License

private void init() {
    exceptionUnmarshallers = new ArrayList<JsonErrorUnmarshaller>();
    exceptionUnmarshallers.add(new JsonErrorUnmarshaller());

    signer = new AWS4Signer();
    signer.setServiceName(SERVICE_NAME);

    setServiceNameIntern(SERVICE_NAME);/*from  w  ww.  j  a  v  a  2 s.  c om*/

    HandlerChainFactory chainFactory = new HandlerChainFactory();
    requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com.ivona.services/tts/request.handlers"));
    requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com.ivona.services/tts/request.handler2s"));
}