public class ClientReflector extends Object
| Constructor | Description |
|---|---|
ClientReflector(software.amazon.awssdk.codegen.model.intermediate.IntermediateModel model) |
| Modifier and Type | Method | Description |
|---|---|---|
Object |
invokeMethod(TestCase testCase,
Object... params) |
Call the operation method on the client with the given request.
|
Object |
invokeStreamingMethod(TestCase testCase,
Object requestObject,
StreamingResponseHandler<?,?> responseHandler) |
Call the operation (with a streaming output) method on the client with the given request.
|
public ClientReflector(software.amazon.awssdk.codegen.model.intermediate.IntermediateModel model)
public Object invokeMethod(TestCase testCase, Object... params) throws Exception
params - Params to call the operation with. Usually just the request POJO but might be additional params
for streaming operations.Exceptionpublic Object invokeStreamingMethod(TestCase testCase, Object requestObject, StreamingResponseHandler<?,?> responseHandler) throws Exception
requestObject - POJO request object.responseHandler - Response handler for an operation with a streaming output.ExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.