org.apache.axis2.transport.http.server
Class SimpleProxy
java.lang.Object
org.apache.axis2.transport.http.server.SimpleHttpServer
org.apache.axis2.transport.http.server.SimpleProxy
- All Implemented Interfaces:
- java.lang.Runnable
- public class SimpleProxy
- extends SimpleHttpServer
Simple server that registers default request handlers to act as a proxy.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleProxy
public SimpleProxy(int port)
throws java.io.IOException
SimpleProxy
public SimpleProxy()
throws java.io.IOException
requireAuthentication
public void requireAuthentication(Credentials creds,
java.lang.String realm,
boolean keepalive)
requireAuthentication
public void requireAuthentication(Credentials creds)
destroy
public void destroy()
- Description copied from class:
SimpleHttpServer
- Stops this HTTP server instance.
- Overrides:
destroy
in class SimpleHttpServer
addHandler
public void addHandler(HttpRequestHandler handler)