public class FileHTTPSessionNotifiable extends FileNotifiable implements HTTPSessionNotifiable
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
LEVEL_DEBUG, LEVEL_ERROR, LEVEL_INFO, LEVEL_WARN, STR_LEVEL_DEBUG, STR_LEVEL_ERROR, STR_LEVEL_INFO, STR_LEVEL_WARN
Constructor and Description |
---|
FileHTTPSessionNotifiable(java.lang.String httpSessionName,
java.lang.String characterSet)
Constructs a DefaultScrapingSessionNotifiable to be used with
the named scraping session.
|
Modifier and Type | Method and Description |
---|---|
void |
proxySessionCompleted()
Indicates that the proxy session has ended.
|
void |
sessionUpdated()
Indicates that the session was updated.
|
void |
transactionDeleted(int sequence)
Indicates that something about the session changed,
which necessitates that the view be refreshed.
|
void |
transactionInserted(int sequence)
Indicates that something about the session changed,
which necessitates that the view be refreshed.
|
void |
transactionUpdated(HTTPTransaction transaction)
Indicates that a specific transaction was updatd.
|
closeLog, getLogFileName, getLoggingLevel, log, logDebug, logError, logInfo, logWarn, setLogFile, setLoggingLevel, writeLogLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log
getLoggingLevel, logDebug, logError, logInfo, logWarn, setLoggingLevel
public FileHTTPSessionNotifiable(java.lang.String httpSessionName, java.lang.String characterSet)
httpSessionName
- The name of the HTTPSession
.characterSet
- The character set to use with the log file.public void proxySessionCompleted()
public void sessionUpdated()
sessionUpdated
in interface HTTPSessionNotifiable
public void transactionUpdated(HTTPTransaction transaction)
transactionUpdated
in interface HTTPSessionNotifiable
transaction
- An HTTPTransaction
.public void transactionDeleted(int sequence)
transactionDeleted
in interface HTTPSessionNotifiable
sequence
- The sequence of the transaction
that was deleted.public void transactionInserted(int sequence)
transactionInserted
in interface HTTPSessionNotifiable
sequence
- The sequence of the transaction
that was inserted.