|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grinder.plugin.http.tcpproxyfilter.ConnectionCache
public final class ConnectionCache
Map of ConnectionDetails to handlers.
| Constructor Summary | |
|---|---|
ConnectionCache(ConnectionHandlerFactory connectionHandlerFactory)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close(ConnectionDetails connectionDetails)
A connection has been closed, remove the handler. |
void |
dispose()
Called after the filter has been stopped. |
void |
open(ConnectionDetails connectionDetails)
A connection has been opened, create a handler. |
void |
request(ConnectionDetails connectionDetails,
byte[] buffer,
int bytesRead)
A request message has been received. |
void |
response(ConnectionDetails connectionDetails,
byte[] buffer,
int bytesRead)
Part of a response message has been received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionCache(ConnectionHandlerFactory connectionHandlerFactory)
connectionHandlerFactory - Factory for connection handlers.| Method Detail |
|---|
public void open(ConnectionDetails connectionDetails)
open in interface HTTPFilterEventListenerconnectionDetails - Details.
public void request(ConnectionDetails connectionDetails,
byte[] buffer,
int bytesRead)
request in interface HTTPFilterEventListenerconnectionDetails - Connection details.buffer - Buffer containing message.bytesRead - Length of message.
public void response(ConnectionDetails connectionDetails,
byte[] buffer,
int bytesRead)
response in interface HTTPFilterEventListenerconnectionDetails - Connection details.buffer - Buffer containing message.bytesRead - Length of message.public void close(ConnectionDetails connectionDetails)
close in interface HTTPFilterEventListenerconnectionDetails - Details.public void dispose()
dispose in interface org.picocontainer.Disposable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||