org.apache.jmeter.protocol.http.control
Class HttpMirrorServer
Thread
org.apache.jmeter.protocol.http.control.HttpMirrorServer
public class HttpMirrorServer
extends Thread
Server daemon thread.
Creates main socket and listens on it.
For each client request, creates a thread to handle the request.
HttpMirrorServer(int port) - Create a new Daemon with the specified port and target.
|
HttpMirrorServer
public HttpMirrorServer(int port)
Create a new Daemon with the specified port and target.
port
- the port to listen on.
getException
public Exception getException()
main
public static void main(args[] )
run
public void run()
Listen on the daemon port and handle incoming requests. This method will
not exit until
stopServer()
is called or an error occurs.
stopServer
public void stopServer()
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.