com.smartbear.soapui.spring.boot.handler.def.SoapStreamResponseHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-starter-soapui Show documentation
Show all versions of spring-boot-starter-soapui Show documentation
Spring Boot Starter For Soapui
package com.smartbear.soapui.spring.boot.handler.def;
import java.io.ByteArrayInputStream;
import com.eviware.soapui.impl.wsdl.WsdlOperation;
import com.eviware.soapui.model.iface.Response;
import com.eviware.soapui.support.SoapUIException;
import com.smartbear.soapui.spring.boot.handler.SoapResponseHandler;
/**
* 请求响应处理:返回ByteArrayInputStream对象
* @author : vindell
*/
public class SoapStreamResponseHandler implements SoapResponseHandler {
@Override
public ByteArrayInputStream handleResponse(WsdlOperation operationInst, Response response) throws SoapUIException {
// 响应内容
return new ByteArrayInputStream(response.getRawResponseData());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy