Package org.zaproxy.zap.model
Interface ValueGenerator
-
- All Known Implementing Classes:
DefaultValueGenerator
public interface ValueGenerator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getValue(org.apache.commons.httpclient.URI uri, java.lang.String url, java.lang.String fieldId, java.lang.String defaultValue, java.util.List<java.lang.String> definedValues, java.util.Map<java.lang.String,java.lang.String> envAttributes, java.util.Map<java.lang.String,java.lang.String> fieldAttributes)
The interface that accepts default values for the spider.
-
-
-
Method Detail
-
getValue
java.lang.String getValue(org.apache.commons.httpclient.URI uri, java.lang.String url, java.lang.String fieldId, java.lang.String defaultValue, java.util.List<java.lang.String> definedValues, java.util.Map<java.lang.String,java.lang.String> envAttributes, java.util.Map<java.lang.String,java.lang.String> fieldAttributes)
The interface that accepts default values for the spider.- Parameters:
uri
- the uriurl
- the resolved URLfieldId
- the name associated with the current fielddefaultValue
- the value of 'value attribute' if it has onedefinedValues
- the predefined values for the field, if presentenvAttributes
- all attributes of the current formfieldAttributes
- all attributes of the current field- Since:
- 2.6.0
-
-