Esempio n. 1
0
 public void setContextPath(String contextPath) {
   this.contextPath = contextPath;
   if (context == null) {
     Host host = (Host) connector.getContainer();
     context = host.getContext(contextPath);
   }
 }
Esempio n. 2
0
 // -----------------------------------------------------------------------------网络项
 @Override
 public String getScheme() {
   return connector.getScheme();
 }