1 2 3 27 28 29 package org.apache.catalina; 30 31 import org.apache.catalina.net.ServerSocketFactory; 32 33 import java.security.cert.X509Certificate ; 35 import com.sun.appserv.ProxyHandler; 38 import org.apache.coyote.Adapter; 41 43 94 95 public interface Connector { 96 97 98 100 101 105 public Container getContainer(); 106 107 108 114 public void setContainer(Container container); 115 116 117 120 public boolean getEnableLookups(); 121 122 123 128 public void setEnableLookups(boolean enableLookups); 129 130 131 134 public ServerSocketFactory getFactory(); 135 136 137 142 public void setFactory(ServerSocketFactory factory); 143 144 145 148 public String getInfo(); 149 150 151 156 public int getRedirectPort(); 157 158 159 164 public void setRedirectPort(int redirectPort); 165 166 167 171 public String getScheme(); 172 173 174 180 public void setScheme(String scheme); 181 182 183 187 public boolean getSecure(); 188 189 190 196 public void setSecure(boolean secure); 197 198 199 202 public Service getService(); 203 204 205 210 public void setService(Service service); 211 212 213 219 public void setDefaultHost(String defaultHost); 220 221 226 public String getDefaultHost(); 227 229 230 237 public boolean getAuthPassthroughEnabled(); 238 239 245 public void setAuthPassthroughEnabled(boolean authPassthroughEnabled); 246 247 253 public ProxyHandler getProxyHandler(); 254 255 260 public void setProxyHandler(ProxyHandler proxyHandler); 261 263 264 266 267 271 public Request createRequest(); 272 273 274 278 public Response createResponse(); 279 280 286 public void initialize() 287 throws LifecycleException; 288 289 293 public X509Certificate [] getCertificates(Request request); 294 296 301 public String getURIEncoding(); 302 303 307 public void setURIEncoding(String encoding); 308 310 311 315 public void setAdapter(Adapter adapter); 316 317 318 321 public Adapter getAdapter(); 322 } 324 | Popular Tags |