public class HTTPTransactionManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
Constructor and Description |
---|
HTTPTransactionManager()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
blockAll()
Blocks all of the HTTP transactions.
|
HTTPSession |
getHTTPSession()
Gets the HTTP session associated with this manager.
|
HTTPTransaction |
getHTTPTransaction(int sequence)
Gets an HTTP transaction from the manager.
|
int |
getNumHTTPTransactions()
Returns the number of HTTP transactions currently held by the manager.
|
void |
insertHTTPTransaction(java.net.Socket socket)
Generates and inserts an HTTPTransaction into the manager for the given socket.
|
void |
removeHTTPTransaction(int sequence)
Removes an HTTP transaction from the manager.
|
void |
setHTTPSession(HTTPSession httpSession)
Sets the HTTP session associated with this manager.
|
public HTTPSession getHTTPSession()
HTTPSession
.public void setHTTPSession(HTTPSession httpSession)
httpSession
- The HTTPSession
.public int getNumHTTPTransactions()
public void insertHTTPTransaction(java.net.Socket socket)
socket
- The socket the HTTPTransaction is to use.public void removeHTTPTransaction(int sequence)
sequence
- The sequence of the HTTP transaction to be removed.public HTTPTransaction getHTTPTransaction(int sequence)
sequence
- The sequence of the HTTP transaction to be retrieved.public void blockAll()