Package org.citrusframework.ws.actions
Class ReceiveSoapMessageAction.SoapMessageBuilderSupport
java.lang.Object
org.citrusframework.message.builder.MessageBuilderSupport<T,B,S>
org.citrusframework.message.builder.ReceiveMessageBuilderSupport<ReceiveSoapMessageAction,ReceiveSoapMessageAction.Builder,ReceiveSoapMessageAction.SoapMessageBuilderSupport>
org.citrusframework.ws.actions.ReceiveSoapMessageAction.SoapMessageBuilderSupport
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<ReceiveSoapMessageAction>
- Enclosing class:
- ReceiveSoapMessageAction
public static class ReceiveSoapMessageAction.SoapMessageBuilderSupport
extends ReceiveMessageBuilderSupport<ReceiveSoapMessageAction,ReceiveSoapMessageAction.Builder,ReceiveSoapMessageAction.SoapMessageBuilderSupport>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.citrusframework.message.builder.MessageBuilderSupport
MessageBuilderSupport.MessageActionBuilder<T extends TestAction,M extends MessageBuilderSupport<T, B, M>, B extends MessageBuilderSupport.MessageActionBuilder<T, M, B>> Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
Fields inherited from class org.citrusframework.message.builder.MessageBuilderSupport
dataDictionary, dataDictionaryName, delegate, messageBuilder, messageType, selfFields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSoapMessageBuilderSupport(SoapMessage soapMessage, ReceiveSoapMessageAction.Builder delegate) -
Method Summary
Modifier and TypeMethodDescriptionSets the request accept header.attachment(String contentId, String contentType, String content) Sets the control attachment with string content.attachment(String contentId, String contentType, Resource contentResource) Sets the control attachment with content resource.attachment(String contentId, String contentType, Resource contentResource, Charset charset) Sets the control attachment with content resource.attachment(SoapAttachment attachment) Sets the control attachment from Java object instance.attachmentValidator(SoapAttachmentValidator validator) Set explicit SOAP attachment validator.attachmentValidatorName(String validator) Set explicit SOAP attachment validator name.Sets the charset name for this send action builder's control attachment.contentType(String contentType) Sets the request content type header.contextPath(String contextPath) Sets the context path.reasonPhrase(String reasonPhrase) Sets the response status reason phrase.soapAction(String soapAction) Sets special SOAP action message header.status(org.springframework.http.HttpStatus status) Sets the response status.statusCode(Integer statusCode) Sets the response status code.Methods inherited from class org.citrusframework.message.builder.ReceiveMessageBuilderSupport
getControlMessageProcessors, headerNameIgnoreCase, isHeaderNameIgnoreCase, process, selector, selector, timeout, validate, validate, validate, validate, validate, validate, validator, validator, validator, validators, validators, validators, validatorsMethods inherited from class org.citrusframework.message.builder.MessageBuilderSupport
body, body, body, body, build, dictionary, dictionary, extract, extract, extract, from, getDataDictionary, getDataDictionaryName, getMessageBuilder, getMessageType, header, header, header, header, header, headers, process, process, setReferenceResolver, type, type, withReferenceResolver
-
Constructor Details
-
SoapMessageBuilderSupport
protected SoapMessageBuilderSupport(SoapMessage soapMessage, ReceiveSoapMessageAction.Builder delegate)
-
-
Method Details
-
body
-
name
-
from
-
soapAction
Sets special SOAP action message header.- Parameters:
soapAction-- Returns:
-
attachment
public ReceiveSoapMessageAction.SoapMessageBuilderSupport attachment(String contentId, String contentType, String content) Sets the control attachment with string content.- Parameters:
contentId-contentType-content-- Returns:
-
attachment
public ReceiveSoapMessageAction.SoapMessageBuilderSupport attachment(String contentId, String contentType, Resource contentResource) Sets the control attachment with content resource.- Parameters:
contentId-contentType-contentResource-- Returns:
-
attachment
public ReceiveSoapMessageAction.SoapMessageBuilderSupport attachment(String contentId, String contentType, Resource contentResource, Charset charset) Sets the control attachment with content resource.- Parameters:
contentId-contentType-contentResource-charset-- Returns:
-
charset
Sets the charset name for this send action builder's control attachment.- Parameters:
charsetName-- Returns:
-
attachment
Sets the control attachment from Java object instance.- Parameters:
attachment-- Returns:
-
attachmentValidatorName
Set explicit SOAP attachment validator name.- Parameters:
validator-- Returns:
-
attachmentValidator
public ReceiveSoapMessageAction.SoapMessageBuilderSupport attachmentValidator(SoapAttachmentValidator validator) Set explicit SOAP attachment validator.- Parameters:
validator-- Returns:
-
contentType
Sets the request content type header.- Parameters:
contentType-- Returns:
-
accept
Sets the request accept header.- Parameters:
accept-- Returns:
-
reasonPhrase
Sets the response status reason phrase.- Parameters:
reasonPhrase-- Returns:
-
status
public ReceiveSoapMessageAction.SoapMessageBuilderSupport status(org.springframework.http.HttpStatus status) Sets the response status.- Parameters:
status-- Returns:
-
statusCode
Sets the response status code.- Parameters:
statusCode-- Returns:
-
contextPath
Sets the context path.- Parameters:
contextPath-- Returns:
-