exp.libs.soap.client._SOAP Maven / Gradle / Ivy
The newest version!
package exp.libs.soap.client;
/**
*
* SOAP协议版本枚举
*
*
*
PROJECT : exp-libs
*
SUPPORT : https://exp-blog.com
* @version 2022-03-06
* @author EXP: [email protected]
* @since JDK 1.8+
*/
class _SOAP {
/** soap协议版本:1.1 */
protected final static _SOAP _1_1 = new _SOAP("SOAP 1.1",
"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"");
/** soap协议版本:1.2 (默认soap协议, 但JDK1.6不支持) */
protected final static _SOAP _1_2 = new _SOAP("SOAP 1.2",
"xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\"");
/** 版本 */
private String version;
/** 声明 */
private String statement;
private _SOAP(String version, String statement) {
this.version = version;
this.statement = statement;
}
protected String VER() {
return version;
}
protected String STATEMENT() {
return statement;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy