public int getDefaultPort() {
return 80;
}
public void setRedirectPort(int port) {
BlockingChannelConnector connector = (BlockingChannelConnector) listener;
connector.setConfidentialPort(port);
connector.setIntegralPort(port);
connector.setIntegralScheme("https");
connector.setConfidentialScheme("https");
}