|
Apache JMeter 2.1rc1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.protocol.http.util.accesslog.SessionFilter
Field Summary | |
protected List |
excludedIps
This object is static across multiple threads in a test, via clone() method. |
Constructor Summary | |
SessionFilter()
|
Method Summary | |
Object |
clone()
|
void |
excludeFiles(String[] filenames)
Exclude all files in the array |
void |
excludePattern(String[] regexp)
Exclude any log entry that contains the following regular expression pattern. |
String |
filter(String text)
In case the user wants to replace the file extension, log parsers should call this method. |
protected String |
getIpAddress(String logLine)
|
protected boolean |
hasExcPattern(String text)
|
void |
includeFiles(String[] filenames)
Include all files in the array. |
void |
includePattern(String[] regexp)
Include any log entry that contains the following regular expression pattern. |
boolean |
isFiltered(String path)
Log parser will call this method to see if a particular entry should be filtered or not. |
void |
reset()
Tell the filter when the parsing has reached the end of the log file and is about to begin again. |
void |
setReplaceExtension(String oldextension,
String newextension)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected List excludedIps
Constructor Detail |
public SessionFilter()
Method Detail |
protected boolean hasExcPattern(String text)
protected String getIpAddress(String logLine)
public void reset()
Filter
reset
in interface Filter
public Object clone()
clone
in interface TestCloneable
public void excludeFiles(String[] filenames)
Filter
excludeFiles
in interface Filter
filenames
- public void excludePattern(String[] regexp)
Filter
excludePattern
in interface Filter
regexp
- public String filter(String text)
Filter
filter
in interface Filter
text
-
public void includeFiles(String[] filenames)
Filter
includeFiles
in interface Filter
filenames
- public void includePattern(String[] regexp)
Filter
includePattern
in interface Filter
regexp
- public boolean isFiltered(String path)
Filter
isFiltered
in interface Filter
path
-
public void setReplaceExtension(String oldextension, String newextension)
setReplaceExtension
in interface Filter
oldextension
- newextension
-
|
Apache JMeter 2.1rc1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |