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