Class Proxy
java.lang.Object
java.lang.Thread
org.apache.jmeter.protocol.http.proxy.Proxy
- All Implemented Interfaces:
Runnable
Thread to handle one client request. Gets the request from the client and
passes it on to the server, then sends the response back to the client.
Information about the request and response is stored so it can be used in a
JMeter test plan.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Main processing method for the Proxy objectstatic void
setCounter
(int value) Set the counter for all registeredSamplerCreatorFactory
sMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
Proxy
public Proxy()Default constructor - used by newInstance call in Daemon
-
-
Method Details
-
run
public void run()Main processing method for the Proxy object -
setCounter
public static void setCounter(int value) Set the counter for all registeredSamplerCreatorFactory
s- Parameters:
value
- to be initialized
-