public class BoundedAsyncResponseConsumerTest extends Object
| Constructor and Description |
|---|
BoundedAsyncResponseConsumerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testContentReturnedIfActualLengthEqualToMaxLength() |
void |
testContentReturnedIfActualLengthLowerThanMaxLength() |
void |
testContentReturnedIfContentLengthZeroButActualLengthEqualToMaxLength() |
void |
testThrowsIfActualLengthExceedsMaxLength() |
void |
testThrowsIfActualLengthExceedsMaxLengthChunked() |
public void testContentReturnedIfActualLengthEqualToMaxLength()
throws Exception
Exceptionpublic void testContentReturnedIfContentLengthZeroButActualLengthEqualToMaxLength()
throws Exception
Exceptionpublic void testContentReturnedIfActualLengthLowerThanMaxLength()
throws Exception
Exceptionpublic void testThrowsIfActualLengthExceedsMaxLength()
throws IOException,
org.apache.http.HttpException
IOExceptionorg.apache.http.HttpExceptionpublic void testThrowsIfActualLengthExceedsMaxLengthChunked()
throws IOException,
org.apache.http.HttpException
IOExceptionorg.apache.http.HttpExceptionCopyright © 2012–2018 Atlassian. All rights reserved.