@Named public class FileBasedResponseStore extends ResponseStore
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FILE_NAME |
static String |
DEFAULT_FILE_PATH |
static String |
FILE_NAME_CONFIGURATION_KEY |
static String |
FILE_PATH_CONFIGURATION_KEY |
Constructor and Description |
---|
FileBasedResponseStore() |
Modifier and Type | Method and Description |
---|---|
void |
addResponse(Response response) |
Collection<Response> |
findResponses(SearchCriteria criteria) |
Path |
getPath() |
protected Collection<Response> |
loadResponses() |
protected String |
lookupFileName() |
protected String |
lookupFilePath() |
void |
setFileName(String fileName) |
void |
setFilePath(String filePath) |
protected void |
writeResponse(Response response) |
findResponses, notifyListeners, registerListener, setListeners
public static final String DEFAULT_FILE_PATH
public static final String DEFAULT_FILE_NAME
public static final String FILE_PATH_CONFIGURATION_KEY
public static final String FILE_NAME_CONFIGURATION_KEY
public void addResponse(Response response)
public Collection<Response> findResponses(SearchCriteria criteria)
protected void writeResponse(Response response)
protected Collection<Response> loadResponses()
public Path getPath()
protected String lookupFilePath()
protected String lookupFileName()
public void setFilePath(String filePath)
public void setFileName(String fileName)
Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.