当前位置: 首页>>代码示例>>Java>>正文


Java ServerSocketFactory类代码示例

本文整理汇总了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;
    }
}
 
开发者ID:liaokailin,项目名称:tomcat7,代码行数:13,代码来源:TesterBug50640SslImpl.java

示例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;
}
 
开发者ID:ilscipio,项目名称:scipio-erp,代码行数:8,代码来源:SSLImpl.java

示例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;
    }
}
 
开发者ID:deathspeeder,项目名称:class-guard,代码行数:13,代码来源:TesterBug50640SslImpl.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxCore,代码行数:9,代码来源:WantCertJSSEImplementation.java

示例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;
    }
}
 
开发者ID:WhiteBearSolutions,项目名称:WBSAirback,代码行数:13,代码来源:TesterBug50640SslImpl.java

示例6: getServerSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint<?> endpoint)  {
    return new JSSESocketFactory(endpoint);
}
 
开发者ID:liaokailin,项目名称:tomcat7,代码行数:5,代码来源:JSSEImplementation.java

示例7: getServerSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
public ServerSocketFactory getServerSocketFactory()  {
    ServerSocketFactory ssf = factory.getSocketFactory();
    return ssf;
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:JSSEImplementation.java

示例8: getSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
/**
 * Returns the ServerSocketFactory to use.
 */
public ServerSocketFactory getSocketFactory() {
    return new JSSESocketFactory();
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:7,代码来源:JSSEFactory.java

示例9: getSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
public ServerSocketFactory getSocketFactory(AbstractEndpoint<?> endpoint, Properties config) {
    return new JSSSocketFactory(endpoint, config);
}
 
开发者ID:dogtagpki,项目名称:tomcatjss,代码行数:4,代码来源:JSSFactory.java

示例10: getServerSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint<?> endpoint) {
	return new JSSESocketFactory(endpoint);
}
 
开发者ID:how2j,项目名称:lazycat,代码行数:5,代码来源:JSSEImplementation.java

示例11: getServerSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint<?> endpoint) {
	return new SocketFactory(endpoint);
}
 
开发者ID:philwebb,项目名称:spring-boot-concourse,代码行数:5,代码来源:TomcatEmbeddedJSSEImplementation.java

示例12: getServerSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
@Override
public ServerSocketFactory getServerSocketFactory(AbstractEndpoint endpoint)  {
    return new JSSESocketFactory(endpoint);
}
 
开发者ID:deathspeeder,项目名称:class-guard,代码行数:5,代码来源:JSSEImplementation.java

示例13: getSocketFactory

import org.apache.tomcat.util.net.ServerSocketFactory; //导入依赖的package包/类
public ServerSocketFactory getSocketFactory(AbstractEndpoint<?> endpoint, Properties config); 
开发者ID:dogtagpki,项目名称:tomcatjss,代码行数:2,代码来源:IJSSFactory.java


注:本文中的org.apache.tomcat.util.net.ServerSocketFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。