public class SoapServerFaultResponseActionBuilder extends SendMessageBuilder<SendSoapFaultAction,SoapServerFaultResponseActionBuilder>
action| Constructor and Description |
|---|
SoapServerFaultResponseActionBuilder(DelegatingTestAction<TestAction> delegate,
Endpoint soapServer)
Default constructor using soap client endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
SoapServerFaultResponseActionBuilder |
attachment(SoapAttachment attachment)
Sets the attachment from Java object instance.
|
SoapServerFaultResponseActionBuilder |
attachment(String contentId,
String contentType,
org.springframework.core.io.Resource contentResource)
Sets the attachment with content resource.
|
SoapServerFaultResponseActionBuilder |
attachment(String contentId,
String contentType,
org.springframework.core.io.Resource contentResource,
Charset charset)
Sets the attachment with content resource.
|
SoapServerFaultResponseActionBuilder |
attachment(String contentId,
String contentType,
String content)
Sets the attachment with string content.
|
SoapServerFaultResponseActionBuilder |
charset(String charsetName)
Sets the charset name for this send action builder's attachment.
|
SoapServerFaultResponseActionBuilder |
contentType(String contentType)
Sets the response content type header.
|
SoapServerFaultResponseActionBuilder |
faultActor(String faultActor)
Add custom fault string to SOAP fault message.
|
SoapServerFaultResponseActionBuilder |
faultCode(String code)
Adds custom SOAP fault code.
|
SoapServerFaultResponseActionBuilder |
faultDetail(String faultDetail)
Adds a fault detail to SOAP fault message.
|
SoapServerFaultResponseActionBuilder |
faultDetailResource(org.springframework.core.io.Resource resource)
Adds a fault detail from file resource.
|
SoapServerFaultResponseActionBuilder |
faultDetailResource(org.springframework.core.io.Resource resource,
Charset charset)
Adds a fault detail from file resource.
|
SoapServerFaultResponseActionBuilder |
faultDetailResource(String filePath)
Adds a fault detail from file resource path.
|
SoapServerFaultResponseActionBuilder |
faultString(String faultString)
Add custom fault string to SOAP fault message.
|
protected SendSoapFaultAction |
getAction()
Provides access to receive message action delegate.
|
protected void |
setPayload(String payload)
Sets the payload data on the message builder implementation.
|
SoapServerFaultResponseActionBuilder |
status(org.springframework.http.HttpStatus status)
Sets the response status.
|
SoapServerFaultResponseActionBuilder |
statusCode(Integer statusCode)
Sets the response status code.
|
dictionary, dictionary, endpoint, endpoint, extractFromHeader, extractFromPayload, fork, getMessageContentBuilder, header, header, header, header, headerFragment, headerFragment, headerFragment, headerFragment, headers, jsonPath, message, messageType, messageType, name, payload, payload, payload, payload, payload, payload, payloadModel, withApplicationContext, xpathactor, build, description, execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNamepublic SoapServerFaultResponseActionBuilder(DelegatingTestAction<TestAction> delegate, Endpoint soapServer)
delegate - soapServer - protected void setPayload(String payload)
SendMessageBuildersetPayload in class SendMessageBuilder<SendSoapFaultAction,SoapServerFaultResponseActionBuilder>public SoapServerFaultResponseActionBuilder attachment(String contentId, String contentType, String content)
contentId - contentType - content - public SoapServerFaultResponseActionBuilder attachment(String contentId, String contentType, org.springframework.core.io.Resource contentResource)
contentId - contentType - contentResource - public SoapServerFaultResponseActionBuilder attachment(String contentId, String contentType, org.springframework.core.io.Resource contentResource, Charset charset)
contentId - contentType - contentResource - charset - public SoapServerFaultResponseActionBuilder charset(String charsetName)
charsetName - public SoapServerFaultResponseActionBuilder attachment(SoapAttachment attachment)
attachment - public SoapServerFaultResponseActionBuilder status(org.springframework.http.HttpStatus status)
status - public SoapServerFaultResponseActionBuilder statusCode(Integer statusCode)
statusCode - public SoapServerFaultResponseActionBuilder contentType(String contentType)
contentType - public SoapServerFaultResponseActionBuilder faultCode(String code)
code - public SoapServerFaultResponseActionBuilder faultString(String faultString)
faultString - public SoapServerFaultResponseActionBuilder faultActor(String faultActor)
faultActor - public SoapServerFaultResponseActionBuilder faultDetail(String faultDetail)
faultDetail - public SoapServerFaultResponseActionBuilder faultDetailResource(org.springframework.core.io.Resource resource)
resource - public SoapServerFaultResponseActionBuilder faultDetailResource(org.springframework.core.io.Resource resource, Charset charset)
resource - charset - public SoapServerFaultResponseActionBuilder faultDetailResource(String filePath)
filePath - protected SendSoapFaultAction getAction()
SendMessageBuildergetAction in class SendMessageBuilder<SendSoapFaultAction,SoapServerFaultResponseActionBuilder>Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.