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