本文整理汇总了Java中org.apache.tomcat.util.net.ServerSocketFactory类的典型用法代码示例。如果您正苦于以下问题:Java ServerSocketFactory类的具体用法?Java ServerSocketFactory怎么用?Java ServerSocketFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ServerSocketFactory类属于org.apache.tomcat.util.net包,在下文中一共展示了ServerSocketFactory类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(
AbstractEndpoint<?> endpoint) {
// Check the custom attribute is visible & correcly set
String flag = endpoint.getProperty(PROPERTY_NAME);
if (PROPERTY_VALUE.equals(flag)) {
return super.getServerSocketFactory(endpoint);
} else {
return null;
}
}
示例2: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint endpoint) {
if (UtilValidate.isEmpty(this.ssFactory)) {
this.ssFactory = (new JSSEImplementation()).getServerSocketFactory(endpoint);
}
return ssFactory;
}
示例3: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(
AbstractEndpoint endpoint) {
// Check the custom attribute is visible & correcly set
String flag = endpoint.getProperty(PROPERTY_NAME);
if (PROPERTY_VALUE.equals(flag)) {
return super.getServerSocketFactory(endpoint);
} else {
return null;
}
}
示例4: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint<?> endpoint) {
if (delegateToApplicationJSSEImplementation != null) {
return delegateToApplicationJSSEImplementation.getServerSocketFactory(endpoint);
}
return super.getServerSocketFactory(endpoint);
}
示例5: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(
AbstractEndpoint endpoint) {
// Check the custom attribute is visible & correcly set
String flag = endpoint.getProperty(PROPERTY_NAME);
if (PROPERTY_VALUE.equals(flag)) {
return super.getServerSocketFactory(endpoint);
} else {
return null;
}
}
示例6: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint<?> endpoint) {
return new JSSESocketFactory(endpoint);
}
示例7: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
public ServerSocketFactory getServerSocketFactory() {
ServerSocketFactory ssf = factory.getSocketFactory();
return ssf;
}
示例8: getSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
/**
* Returns the ServerSocketFactory to use.
*/
public ServerSocketFactory getSocketFactory() {
return new JSSESocketFactory();
}
示例9: getSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
public ServerSocketFactory getSocketFactory(AbstractEndpoint<?> endpoint, Properties config) {
return new JSSSocketFactory(endpoint, config);
}
示例10: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint<?> endpoint) {
return new JSSESocketFactory(endpoint);
}
示例11: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint<?> endpoint) {
return new SocketFactory(endpoint);
}
示例12: getServerSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint endpoint) {
return new JSSESocketFactory(endpoint);
}
示例13: getSocketFactory
import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
public ServerSocketFactory getSocketFactory(AbstractEndpoint<?> endpoint, Properties config);