|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.javacrumbs.smock.common.SmockCommon
net.javacrumbs.smock.common.server.CommonSmockServer
public class CommonSmockServer
Adds extra functionality to Spring WS server test support.
| Constructor Summary | |
|---|---|
CommonSmockServer()
|
|
| Method Summary | |
|---|---|
static ParametrizableResponseMatcher |
message(Document message)
Expects the given message. |
static ParametrizableResponseMatcher |
message(org.springframework.core.io.Resource messageResource)
Expects the given message. |
static ParametrizableResponseMatcher |
message(Source content)
Expects the given message. |
static ParametrizableResponseMatcher |
message(String messageResource)
Expects the given message. |
static ParametrizableRequestCreator |
withMessage(Document message)
Create a request with the given Resource XML as content. |
static ParametrizableRequestCreator |
withMessage(org.springframework.core.io.Resource messageResource)
Create a request with the given Resource as content. |
static ParametrizableRequestCreator |
withMessage(Source message)
Create a request with the given Resource XML as content. |
static ParametrizableRequestCreator |
withMessage(String messageResource)
Create a request with the given resource as content. |
| Methods inherited from class net.javacrumbs.smock.common.SmockCommon |
|---|
createMessageFactory, createMessageFactory, createMessageFactory, createSource, fromResource, getResourceLoader, getTemplateProcessor, loadDocument, resource, setResourceLoader, setTemplateProcessor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonSmockServer()
| Method Detail |
|---|
public static ParametrizableRequestCreator withMessage(String messageResource)
TemplateProcessor.
messageResource - the message content
public static ParametrizableRequestCreator withMessage(org.springframework.core.io.Resource messageResource)
Resource as content. If the content is payload it will be wrapped into a SOAP,
if the content contains the whole message, it will be used as it is. Supports templates that will be resolved by TemplateProcessor.
messageResource -
public static ParametrizableRequestCreator withMessage(Source message)
Resource XML as content. If the content is payload it will be wrapped into a SOAP,
if the content contains the whole message, it will be used as it is. Supports templates that will be resolved by TemplateProcessor.
message -
public static ParametrizableRequestCreator withMessage(Document message)
Resource XML as content. If the content is payload it will be wrapped into a SOAP,
if the content contains the whole message, it will be used as it is. Supports templates that will be resolved by TemplateProcessor.
message -
public static ParametrizableResponseMatcher message(String messageResource)
TemplateProcessor.
messageResource -
public static ParametrizableResponseMatcher message(org.springframework.core.io.Resource messageResource)
TemplateProcessor.
messageResource -
public static ParametrizableResponseMatcher message(Source content)
TemplateProcessor.
content -
public static ParametrizableResponseMatcher message(Document message)
TemplateProcessor.
message -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||