@Deprecated public abstract class AbstractMockHttpServerTest extends Object
AbstractMockHttpServerTest can communicate with a
mock Http endpoint that behavious like a real server.
The idea behind this class is that http responses can be tested (regardless
of the input request).| Constructor and Description |
|---|
AbstractMockHttpServerTest()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
setResponseResource(org.springframework.core.io.Resource responseResource)
Deprecated.
Set the expected response on the Handler
|
protected void |
setResponseResource(org.springframework.core.io.Resource[] responseResource)
Deprecated.
Set the expected response on the Handler
|
protected void |
setStatus(int status)
Deprecated.
|
static void |
startServer()
Deprecated.
|
static void |
stopServer()
Deprecated.
|
public static void startServer()
public static void stopServer()
protected void setResponseResource(org.springframework.core.io.Resource responseResource)
responseResource - the resource of the file containing the xml responseprotected void setResponseResource(org.springframework.core.io.Resource[] responseResource)
responseResource - the resource of the file containing the xml responseprotected void setStatus(int status)
Copyright © 2013. All rights reserved.