public class ServletMethodExecutor extends Object implements ContainerMethodExecutor
Modifier and Type | Field and Description |
---|---|
static String |
ARQUILLIAN_SERVLET_MAPPING |
static String |
ARQUILLIAN_SERVLET_NAME |
protected CommandCallback |
callback |
protected ServletProtocolConfiguration |
config |
protected ServletURIHandler |
uriHandler |
Modifier | Constructor and Description |
---|---|
protected |
ServletMethodExecutor() |
|
ServletMethodExecutor(ServletProtocolConfiguration config,
Collection<HTTPContext> contexts,
CommandCallback callback) |
Modifier and Type | Method and Description |
---|---|
protected Timer |
createCommandServicePullTimer(String eventUrl) |
protected <T> T |
execute(String url,
Class<T> returnType,
Object requestObject) |
protected <T> T |
executeWithRetry(String url,
Class<T> type) |
TestResult |
invoke(TestMethodExecutor testMethodExecutor)
Invoke a test method deployed in the container.
|
protected void |
prepareHttpConnection(HttpURLConnection connection) |
public static final String ARQUILLIAN_SERVLET_NAME
public static final String ARQUILLIAN_SERVLET_MAPPING
protected ServletURIHandler uriHandler
protected CommandCallback callback
protected ServletProtocolConfiguration config
protected ServletMethodExecutor()
public ServletMethodExecutor(ServletProtocolConfiguration config, Collection<HTTPContext> contexts, CommandCallback callback)
public TestResult invoke(TestMethodExecutor testMethodExecutor)
ContainerMethodExecutor
invoke
in interface ContainerMethodExecutor
protected <T> T executeWithRetry(String url, Class<T> type) throws Exception
Exception
protected <T> T execute(String url, Class<T> returnType, Object requestObject) throws Exception
Exception
protected void prepareHttpConnection(HttpURLConnection connection)
Copyright © 2017 JBoss by Red Hat. All rights reserved.