public class TestHttpClientRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
thrown |
| Constructor and Description |
|---|
TestHttpClientRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertThatAddingParametersToGetRequestThrowsException() |
void |
assertThatBasicAuthenticationHeadersAdded() |
void |
assertThatExceptionThrownAfterDefaultMaximumRedirects() |
void |
assertThatHeaderIsAddedToRequest() |
void |
assertThatMultiValuedHeadersAreAddedToRequest() |
void |
assertThatMultiValuedParametersAreAddedToRequest() |
void |
assertThatNonProxyHostsSystemPropertyHonoured() |
void |
assertThatParameterIsAddedToRequest() |
void |
assertThatProxyAuthenticationSystemPropertyHonoured() |
void |
assertThatProxyNotUsedByDefault() |
void |
assertThatSystemProxyHostSettingHonoured() |
void |
setup() |
public void setup()
throws InterruptedException,
ExecutionException,
IOException,
org.apache.http.HttpException
InterruptedExceptionExecutionExceptionIOExceptionorg.apache.http.HttpExceptionpublic void assertThatHeaderIsAddedToRequest()
throws ResponseException,
IOException,
org.apache.http.HttpException
ResponseExceptionIOExceptionorg.apache.http.HttpExceptionpublic void assertThatMultiValuedHeadersAreAddedToRequest()
throws ResponseException,
IOException,
org.apache.http.HttpException
ResponseExceptionIOExceptionorg.apache.http.HttpExceptionpublic void assertThatParameterIsAddedToRequest()
throws IOException,
ResponseException,
org.apache.http.HttpException
IOExceptionResponseExceptionorg.apache.http.HttpExceptionpublic void assertThatMultiValuedParametersAreAddedToRequest()
throws IOException,
ResponseException,
org.apache.http.HttpException
IOExceptionResponseExceptionorg.apache.http.HttpExceptionpublic void assertThatAddingParametersToGetRequestThrowsException()
public void assertThatSystemProxyHostSettingHonoured()
throws IOException,
ResponseException,
org.apache.http.HttpException
IOExceptionResponseExceptionorg.apache.http.HttpExceptionpublic void assertThatProxyNotUsedByDefault()
throws IOException,
ResponseException,
org.apache.http.HttpException
IOExceptionResponseExceptionorg.apache.http.HttpExceptionpublic void assertThatNonProxyHostsSystemPropertyHonoured()
throws IOException,
ResponseException,
org.apache.http.HttpException
IOExceptionResponseExceptionorg.apache.http.HttpExceptionpublic void assertThatProxyAuthenticationSystemPropertyHonoured()
throws IOException,
ResponseException,
org.apache.http.HttpException
IOExceptionResponseExceptionorg.apache.http.HttpExceptionpublic void assertThatBasicAuthenticationHeadersAdded()
throws ResponseException,
IOException,
org.apache.http.HttpException
ResponseExceptionIOExceptionorg.apache.http.HttpExceptionpublic void assertThatExceptionThrownAfterDefaultMaximumRedirects()
throws ResponseException,
IOException,
org.apache.http.HttpException
ResponseExceptionIOExceptionorg.apache.http.HttpExceptionCopyright © 2015 Atlassian. All rights reserved.