burp
Interface IResponseVariations


public interface IResponseVariations

This interface is used to represent variations between a number HTTP responses, according to various attributes.


Method Summary
 int getAttributeValue(java.lang.String attributeName, int responseIndex)
          This method is used to obtain the value of an individual attribute in a response.
 java.util.List<java.lang.String> getInvariantAttributes()
          This method is used to obtain the list of attributes that do not vary between the analyzed responses.
 java.util.List<java.lang.String> getVariantAttributes()
          This method is used to obtain the list of attributes that vary between the analyzed responses.
 void updateWith(byte[]... responses)
          This method is used to update the analysis based on additional responses.
 

Method Detail

getVariantAttributes

java.util.List<java.lang.String> getVariantAttributes()
This method is used to obtain the list of attributes that vary between the analyzed responses.

Returns:
The attributes that vary between the analyzed responses.

getInvariantAttributes

java.util.List<java.lang.String> getInvariantAttributes()
This method is used to obtain the list of attributes that do not vary between the analyzed responses.

Returns:
The attributes that do not vary between the analyzed responses.

getAttributeValue

int getAttributeValue(java.lang.String attributeName,
                      int responseIndex)
This method is used to obtain the value of an individual attribute in a response. Note that the values of some attributes are intrinsically meaningful (e.g. a word count) while the values of others are less so (e.g. a checksum of the HTML tag names).

Parameters:
attributeName - The name of the attribute whose value will be retrieved. Extension authors can obtain the list of supported attributes by generating an IResponseVariations object for a single response and calling IResponseVariations.getInvariantAttributes().
responseIndex - The index of the response. Note that responses are indexed from zero in the order they were originally supplied to the IExtensionHelpers.analyzeResponseVariations() and IResponseVariations.updateWith() methods.
Returns:
The value of the specified attribute for the specified response.

updateWith

void updateWith(byte[]... responses)
This method is used to update the analysis based on additional responses.

Parameters:
responses - The new responses to include in the analysis.