public static class SoapCallReturn.Builder extends Object
SoapCallReturn
objects.Constructor and Description |
---|
SoapCallReturn.Builder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SoapCallReturn |
build()
Returns the SoapCallReturn this Builder has been constructing.
|
SoapCallReturn.Builder |
withException(Throwable exception)
Adds an exception to the SoapCallReturn under construction.
|
SoapCallReturn.Builder |
withRequestInfo(RequestInfo requestInfo)
Adds a request info to the SoapCallReturn under construction.
|
SoapCallReturn.Builder |
withResponseInfo(ResponseInfo responseInfo)
Adds a response info to the SoapCallReturn under construction.
|
SoapCallReturn.Builder |
withReturnValue(Object returnValue)
Adds a return value to the SoapCallReturn under construction.
|
public SoapCallReturn.Builder withReturnValue(Object returnValue)
returnValue
- the return value to add to the SoapCallReturnpublic SoapCallReturn.Builder withResponseInfo(ResponseInfo responseInfo)
responseInfo
- the response info to add to the SoapCallReturnpublic SoapCallReturn.Builder withRequestInfo(RequestInfo requestInfo)
requestInfo
- the request info to add to the SoapCallReturnpublic SoapCallReturn.Builder withException(Throwable exception)
exception
- the exception to add to the SoapCallReturnpublic SoapCallReturn build()
Copyright © 2015. All Rights Reserved.