Esempio n. 1
0
 @Override
 public String getScheme() {
   URLProtoOrBuilder p = viaProto ? proto : builder;
   if (!p.hasScheme()) {
     return null;
   }
   return (p.getScheme());
 }
Esempio n. 2
0
 @Override
 public int getPort() {
   URLProtoOrBuilder p = viaProto ? proto : builder;
   return (p.getPort());
 }