public class FollowRedirectsTest extends WiremockArquillianTest
| Constructor and Description |
|---|
FollowRedirectsTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createDeployment() |
protected SimpleGetApiWithConfigKey |
getConfiguredClientInstance() |
protected SimpleGetApi |
getDefaultClientInstance() |
void |
reset() |
void |
test301Default() |
void |
test301Follows() |
void |
test302Default() |
void |
test302Follows() |
void |
test303Default() |
void |
test303Follows() |
void |
test307Default() |
void |
test307Follows() |
static void |
testDefault(int redirectCode,
SimpleGetApi defaultClient) |
static void |
testFollows(int redirectCode,
SimpleGetApi followingClient) |
getPort, getServerURI, getServerURL, getStringURL, setupServer@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
public void reset()
protected SimpleGetApi getDefaultClientInstance()
protected SimpleGetApiWithConfigKey getConfiguredClientInstance()
public static void testDefault(int redirectCode,
SimpleGetApi defaultClient)
throws Exception
Exceptionpublic static void testFollows(int redirectCode,
SimpleGetApi followingClient)
throws Exception
ExceptionCopyright © 2021 Eclipse Foundation. All rights reserved.