public abstract class WebMotionTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.catalina.startup.Tomcat |
server |
| Constructor and Description |
|---|
WebMotionTest() |
| Modifier and Type | Method and Description |
|---|---|
RequestBuilder |
createRequest(String url)
Create a request for fluent API from httpcomponent.
|
protected String |
getContextPath() |
protected int |
getPort() |
protected String |
getServerBaseDirectory() |
protected String |
getWebappLocation() |
void |
runServer()
Start the serveur and stop this when the thread is shutdown.
|
protected void |
startServer()
Start Tomcat server.
|
protected void |
stopServer()
Stop Tomcat server.
|
public void runServer()
throws Exception
Exceptionprotected int getPort()
protected String getContextPath()
protected String getWebappLocation()
protected String getServerBaseDirectory()
public RequestBuilder createRequest(String url)
url - Copyright © 2011–2015 Debux. All rights reserved.