Package | Description |
---|---|
com.amazonaws.http.timers |
Classes for the request timeout and client execution timeout features.
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseProxy |
ClientExecutionAndRequestTimerTestUtils.createHttpHeadResponseProxy()
Creates Apache
HttpResponseProxy with a null entity |
static HttpResponseProxy |
ClientExecutionAndRequestTimerTestUtils.createHttpResponseProxySpy()
Creates Apache
HttpResponseProxy spy |
Modifier and Type | Method and Description |
---|---|
static void |
ClientExecutionAndRequestTimerTestUtils.assertResponseIsBuffered(HttpResponseProxy responseProxy)
Assert response was buffered into memory to enforce the timeout on both connection
established and reading of content
|
static void |
ClientExecutionAndRequestTimerTestUtils.assertResponseWasNotBuffered(HttpResponseProxy responseProxy)
Assert response was NOT buffered into memory as should be the case when client execution and
request timeouts are disabled or an operation is streaming and it's content must be left open
|
Copyright © 2021. All rights reserved.