@Override
 public boolean isIntegral(Request request) {
   if (getSslContextFactory() != null) {
     int integralPort = getIntegralPort();
     return integralPort == 0 || integralPort == request.getServerPort();
   }
   return super.isIntegral(request);
 }
 @Override
 public boolean isConfidential(Request request) {
   if (getSslContextFactory() != null) {
     int confidentialPort = getConfidentialPort();
     return confidentialPort == 0 || confidentialPort == request.getServerPort();
   }
   return super.isConfidential(request);
 }