Package org.citrusframework.ws.actions
Class SendSoapMessageAction.SoapMessageBuilderSupport<T extends SendSoapMessageAction,B extends SendSoapMessageAction.SendSoapMessageBuilder<T,M,B>,M extends SendSoapMessageAction.SoapMessageBuilderSupport<T,B,M>>
java.lang.Object
org.citrusframework.message.builder.MessageBuilderSupport<T,B,S>
org.citrusframework.message.builder.SendMessageBuilderSupport<T,B,M>
org.citrusframework.ws.actions.SendSoapMessageAction.SoapMessageBuilderSupport<T,B,M>
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<T>
- Direct Known Subclasses:
SendSoapFaultAction.Builder.SoapFaultMessageBuilderSupport,SendSoapMessageAction.Builder.SendSoapMessageBuilderSupport
- Enclosing class:
- SendSoapMessageAction
public static class SendSoapMessageAction.SoapMessageBuilderSupport<T extends SendSoapMessageAction,B extends SendSoapMessageAction.SendSoapMessageBuilder<T,M,B>,M extends SendSoapMessageAction.SoapMessageBuilderSupport<T,B,M>>
extends SendMessageBuilderSupport<T,B,M>
-
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
FieldsFields inherited from class org.citrusframework.message.builder.SendMessageBuilderSupport
schema, schemaRepository, schemaValidationFields 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, B delegate) -
Method Summary
Modifier and TypeMethodDescriptionSets the request accept header.attachment(String contentId, String contentType, String content) Sets the attachment with string content.attachment(String contentId, String contentType, Resource contentResource) Sets the attachment with content resource.attachment(String contentId, String contentType, Resource contentResource, Charset charset) Sets the attachment with content resource.attachment(SoapAttachment attachment) Sets the attachment from Java object instance.Sets the charset name for this send action builder's most recent attachment.contentType(String contentType) Sets the request content type header.protected List<SoapAttachment>protected booleanmtomEnabled(boolean mtomEnabled) soapAction(String soapAction) Sets special SOAP action message header.Set the endpoint URI for the request.Methods inherited from class org.citrusframework.message.builder.SendMessageBuilderSupport
fork, getSchema, getSchemaRepository, isSchemaValidation, schema, schemaRepository, schemaValidation, transform, transformMethods 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, process, setReferenceResolver, type, type, withReferenceResolver
-
Field Details
-
soapMessage
-
-
Constructor Details
-
SoapMessageBuilderSupport
-
-
Method Details
-
body
- Overrides:
bodyin classMessageBuilderSupport<T extends SendSoapMessageAction,B extends SendSoapMessageAction.SendSoapMessageBuilder<T, M, B>, M extends SendSoapMessageAction.SoapMessageBuilderSupport<T, B, M>>
-
name
- Overrides:
namein classMessageBuilderSupport<T extends SendSoapMessageAction,B extends SendSoapMessageAction.SendSoapMessageBuilder<T, M, B>, M extends SendSoapMessageAction.SoapMessageBuilderSupport<T, B, M>>
-
from
- Overrides:
fromin classMessageBuilderSupport<T extends SendSoapMessageAction,B extends SendSoapMessageAction.SendSoapMessageBuilder<T, M, B>, M extends SendSoapMessageAction.SoapMessageBuilderSupport<T, B, M>>
-
soapAction
Sets special SOAP action message header.- Parameters:
soapAction-- Returns:
-
attachment
Sets the attachment with string content.- Parameters:
contentId-contentType-content-- Returns:
-
attachment
Sets the attachment with content resource.- Parameters:
contentId-contentType-contentResource-- Returns:
-
attachment
public M attachment(String contentId, String contentType, Resource contentResource, Charset charset) Sets the attachment with content resource.- Parameters:
contentId-contentType-contentResource-charset-- Returns:
-
charset
Sets the charset name for this send action builder's most recent attachment.- Parameters:
charsetName-- Returns:
-
attachment
Sets the attachment from Java object instance.- Parameters:
attachment-- Returns:
-
uri
Set the endpoint URI for the request. This works only if the HTTP endpoint used doesn't provide an own endpoint URI resolver.- Parameters:
uri- absolute URI to use for the endpoint- Returns:
- self
-
contentType
Sets the request content type header.- Parameters:
contentType-- Returns:
-
accept
Sets the request accept header.- Parameters:
accept-- Returns:
-
mtomEnabled
-
getAttachments
-
isMtomEnabled
protected boolean isMtomEnabled()
-