public class CommonSmockServer extends SmockCommon
| Constructor and Description |
|---|
CommonSmockServer() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
createMessageFactory, createMessageFactory, createMessageFactory, createSource, fromResource, getResourceLoader, getTemplateProcessor, loadDocument, resource, setResourceLoader, setTemplateProcessorpublic static ParametrizableRequestCreator withMessage(String messageResource)
TemplateProcessor.messageResource - the message contentpublic 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 - Copyright © 2017. All Rights Reserved.