public static class RequestInfo.Builder extends Object
RequestInfo
objects.Constructor and Description |
---|
Builder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RequestInfo |
build()
Returns the RequestInfo this Builder has been constructing.
|
RequestInfo.Builder |
withMethodName(String methodName)
Adds a method name to the RequestInfo under construction.
|
RequestInfo.Builder |
withServiceName(String serviceName)
Adds a service name to the RequestInfo under construction.
|
RequestInfo.Builder |
withSoapRequestXml(String soapRequestXml)
Adds the SOAP request XML to the RequestInfo under construction.
|
RequestInfo.Builder |
withUrl(String url)
Adds the target URL to the RequestInfo under construction.
|
public RequestInfo.Builder withMethodName(String methodName)
methodName
- the method name to add to the RequestInfopublic RequestInfo.Builder withServiceName(String serviceName)
serviceName
- the service name to add to the RequestInfopublic RequestInfo.Builder withSoapRequestXml(String soapRequestXml)
soapRequestXml
- the raw SOAP request XML to add to the RequestInfopublic RequestInfo.Builder withUrl(String url)
url
- the URL that the request was made topublic RequestInfo build()
Copyright © 2017. All Rights Reserved.