public static class StackedRequestHandlerTest.MultipleRequestHandlers extends Object
StackedRequestHandler with multiple RequestHandler2 added. Before
 hooks should be executed in normal order (i.e. first, second, then third in respect to what
 order they were added to the StackedRequestHandler) and after hooks should be
 executed in reverse order (i.e. third, second, first)| Constructor and Description | 
|---|
| MultipleRequestHandlers() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterError_CalledInOrder() | 
| void | afterResponse_CalledInOrder() | 
| void | beforeMarshalling_CalledInOrder() | 
| void | beforeMarshalling_ModifiedRequestForwardedToNextInChain()The beforeMarshalling step is a bit different. | 
| void | beforeRequest_CalledInOrder() | 
| void | beforeUnmarshalling_CalledInOrder() | 
| void | beforeUnmarshalling_ModifiedResponseForwardedToNextInChain() | 
| void | setup() | 
public void setup()
public void beforeMarshalling_CalledInOrder()
public void beforeMarshalling_ModifiedRequestForwardedToNextInChain()
AmazonWebServiceRequest returned by
 RequestHandler2.beforeMarshalling(AmazonWebServiceRequest) and forward that
 result as input to the next request handler in the chain. This tests makes sure that each
 request handler forwards the appropriate the result to the next in the chain and that the
 end result is what's returned by the last request handler in the chainpublic void beforeRequest_CalledInOrder()
public void beforeUnmarshalling_CalledInOrder()
public void beforeUnmarshalling_ModifiedResponseForwardedToNextInChain()
public void afterResponse_CalledInOrder()
public void afterError_CalledInOrder()
Copyright © 2022. All rights reserved.