| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
started |
| 构造器和说明 |
|---|
Server() |
Server(Properties config) |
Server(ProxyHost host) |
Server(String filename) |
Server(String[] args) |
public Server(String filename) throws IOException
IOExceptionpublic Server()
public Server(ProxyHost host)
public Server(Properties config)
public Server(String[] args) throws IOException
IOExceptionpublic ProxyHost getProxyHost()
public void setProxyHost(ProxyHost proxyHost)
public boolean hasProperty(String key)
public Properties getConfig()
public void registerComponent(Object object)
public void start()
throws IOException
IOExceptionprotected void initializeHandler()
public void shutdown()
EndPoint.shutdown(com.ds.server.httpproxy.core.Server) on each EndPoint.public boolean isStarted()
public boolean post(Request request, Response response) throws IOException
IOExceptionpublic void post(Runnable runnable)
public ResponseListener getResponseListeners()
public void setResponseListener(ResponseListener listener)
public static int main(String[] args, InputStream in, PrintStream out) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionprotected void processArguments(String[] args, Properties props) throws IOException
IOExceptionprotected void loadConfiguration(String config, Properties props) throws IOException
IOExceptionpublic void setSession(HashMap session)
Copyright © 2025 onecode. All rights reserved.