本文整理了Java中org.apache.axis.client.Call.setTransportForProtocol()
方法的一些代码示例,展示了Call.setTransportForProtocol()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.setTransportForProtocol()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:setTransportForProtocol
[英]Register a Transport that should be used for URLs of the specified protocol. Note: Not part of JAX-RPC specification.
[中]
代码示例来源:origin: axis/axis
/**
* Set up the default transport URL mappings.
*
* This must be called BEFORE doing non-standard URL parsing (i.e. if you
* want the system to accept a "local:" URL). This is why the Options class
* calls it before parsing the command-line URL argument.
*
* Note: Not part of JAX-RPC specification.
*/
public static synchronized void initialize() {
addTransportPackage("org.apache.axis.transport");
setTransportForProtocol("java",
org.apache.axis.transport.java.JavaTransport.class);
setTransportForProtocol("local",
org.apache.axis.transport.local.LocalTransport.class);
setTransportForProtocol("http", HTTPTransport.class);
setTransportForProtocol("https", HTTPTransport.class);
}
代码示例来源:origin: org.apache.axis/axis
/**
* Set up the default transport URL mappings.
*
* This must be called BEFORE doing non-standard URL parsing (i.e. if you
* want the system to accept a "local:" URL). This is why the Options class
* calls it before parsing the command-line URL argument.
*
* Note: Not part of JAX-RPC specification.
*/
public static synchronized void initialize() {
addTransportPackage("org.apache.axis.transport");
setTransportForProtocol("java",
org.apache.axis.transport.java.JavaTransport.class);
setTransportForProtocol("local",
org.apache.axis.transport.local.LocalTransport.class);
setTransportForProtocol("http", HTTPTransport.class);
setTransportForProtocol("https", HTTPTransport.class);
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Set up the default transport URL mappings.
*
* This must be called BEFORE doing non-standard URL parsing (i.e. if you
* want the system to accept a "local:" URL). This is why the Options class
* calls it before parsing the command-line URL argument.
*
* Note: Not part of JAX-RPC specification.
*/
public static synchronized void initialize() {
addTransportPackage("org.apache.axis.transport");
setTransportForProtocol("java",
org.apache.axis.transport.java.JavaTransport.class);
setTransportForProtocol("local",
org.apache.axis.transport.local.LocalTransport.class);
setTransportForProtocol("http", HTTPTransport.class);
setTransportForProtocol("https", HTTPTransport.class);
}
内容来源于网络,如有侵权,请联系作者删除!