AbstractHttp11JsseProtocol泛型抽象类

该类是AbstractHttp11Protocol泛型抽象类的子类

该类主要对AbstractEndpoint中的属性提供了set/get方法
	protected SSLImplementation sslImplementation = null;

	public String getAlgorithm() {
		return endpoint.getAlgorithm();
	}

	public void setAlgorithm(String s) {
		endpoint.setAlgorithm(s);
	}

	public String getClientAuth() {
		return endpoint.getClientAuth();
	}

	public void setClientAuth(String s) {
		endpoint.setClientAuth(s);
	}

	public String getKeystoreFile() {
		return endpoint.getKeystoreFile();
	}

	public void setKeystoreFile(String s) {
		endpoint.setKeystoreFile(s);
	}

	public String getKeystorePass() {
		return endpoint.getKeystorePass();
	}

	public void setKeystorePass(String s) {
		endpoint.setKeystorePass(s);
	}

	public String getKeystoreType() {
		return endpoint.getKeystoreType();
	}

	public void setKeystoreType(String s) {
		endpoint.setKeystoreType(s);
	}

	public String getKeystoreProvider() {
		return endpoint.getKeystoreProvider();
	}

	public void setKeystoreProvider(String s) {
		endpoint.setKeystoreProvider(s);
	}

	public String getSslProtocol() {
		return endpoint.getSslProtocol();
	}

	public void setSslProtocol(String s) {
		endpoint.setSslProtocol(s);
	}

	public String getCiphers() {
		return endpoint.getCiphers();
	}

	public void setCiphers(String s) {
		endpoint.setCiphers(s);
	}

	public String getKeyAlias() {
		return endpoint.getKeyAlias();
	}

	public void setKeyAlias(String s) {
		endpoint.setKeyAlias(s);
	}

	public String getKeyPass() {
		return endpoint.getKeyPass();
	}

	public void setKeyPass(String s) {
		endpoint.setKeyPass(s);
	}

	public void setTruststoreFile(String f) {
		endpoint.setTruststoreFile(f);
	}

	public String getTruststoreFile() {
		return endpoint.getTruststoreFile();
	}

	public void setTruststorePass(String p) {
		endpoint.setTruststorePass(p);
	}

	public String getTruststorePass() {
		return endpoint.getTruststorePass();
	}

	public void setTruststoreType(String t) {
		endpoint.setTruststoreType(t);
	}

	public String getTruststoreType() {
		return endpoint.getTruststoreType();
	}

	public void setTruststoreProvider(String t) {
		endpoint.setTruststoreProvider(t);
	}

	public String getTruststoreProvider() {
		return endpoint.getTruststoreProvider();
	}

	public void setTruststoreAlgorithm(String a) {
		endpoint.setTruststoreAlgorithm(a);
	}

	public String getTruststoreAlgorithm() {
		return endpoint.getTruststoreAlgorithm();
	}

	public void setTrustMaxCertLength(String s) {
		endpoint.setTrustMaxCertLength(s);
	}

	public String getTrustMaxCertLength() {
		return endpoint.getTrustMaxCertLength();
	}

	public void setCrlFile(String s) {
		endpoint.setCrlFile(s);
	}

	public String getCrlFile() {
		return endpoint.getCrlFile();
	}

	public void setSessionCacheSize(String s) {
		endpoint.setSessionCacheSize(s);
	}

	public String getSessionCacheSize() {
		return endpoint.getSessionCacheSize();
	}

	public void setSessionTimeout(String s) {
		endpoint.setSessionTimeout(s);
	}

	public String getSessionTimeout() {
		return endpoint.getSessionTimeout();
	}

	public void setAllowUnsafeLegacyRenegotiation(String s) {
		endpoint.setAllowUnsafeLegacyRenegotiation(s);
	}

	public String getAllowUnsafeLegacyRenegotiation() {
		return endpoint.getAllowUnsafeLegacyRenegotiation();
	}

	private String sslImplementationName = null;

	public String getSslImplementationName() {
		return sslImplementationName;
	}

	public void setSslImplementationName(String s) {
		this.sslImplementationName = s;
	}

	// ------------------------------------------------------- Lifecycle methods

	/**
	 * 初始化
	 */
	@Override
	public void init() throws Exception {
		// SSL implementation needs to be in place before end point is
		// initialized
		sslImplementation = SSLImplementation
				.getInstance(sslImplementationName);
		super.init();
	}


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值