io.muserver.SSLInfoImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
package io.muserver;
import java.util.List;
class SSLInfoImpl implements SSLInfo {
private final String providerName;
private final List protocols;
private final List ciphers;
SSLInfoImpl(String providerName, List protocols, List ciphers) {
this.providerName = providerName;
this.protocols = protocols;
this.ciphers = ciphers;
}
@Override
public List ciphers() {
return ciphers;
}
@Override
public List protocols() {
return protocols;
}
@Override
public String providerName() {
return providerName;
}
@Override
public String toString() {
return "SSLInfoImpl{" +
"providerName='" + providerName + '\'' +
", protocols=" + protocols +
", ciphers=" + ciphers +
'}';
}
}