Package burp.api.montoya.collaborator
Interface InteractionFilter
-
public interface InteractionFilterThis interface provides a filtering mechanism for use when retrieving interactions from the Burp Collaborator server. Helper methods are provided to create filters based on the interaction id and the payload.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static InteractionFilterinteractionIdFilter(java.lang.String id)This method constructs an InteractionFilter that matches any interaction with the specified interaction id.static InteractionFilterinteractionPayloadFilter(java.lang.String payload)This method constructs an InteractionFilter that matches any interaction with the specified payload.booleanmatches(CollaboratorServer server, Interaction interaction)This method will be called for each interaction retrieved from the Collaborator server and determines whether the interaction should be included in the list of interactions returned.
-
-
-
Method Detail
-
interactionIdFilter
static InteractionFilter interactionIdFilter(java.lang.String id)
This method constructs an InteractionFilter that matches any interaction with the specified interaction id.- Parameters:
id- The interaction id.- Returns:
trueif the interaction has the specified id,falseif not.
-
interactionPayloadFilter
static InteractionFilter interactionPayloadFilter(java.lang.String payload)
This method constructs an InteractionFilter that matches any interaction with the specified payload.- Parameters:
payload- The payload.- Returns:
trueif the interaction has the specified payload,falseif not.
-
matches
boolean matches(CollaboratorServer server, Interaction interaction)
This method will be called for each interaction retrieved from the Collaborator server and determines whether the interaction should be included in the list of interactions returned.- Parameters:
server- The collaborator server that received the interaction.interaction- The interaction details.- Returns:
trueif the interaction should be included,falseif not.
-
-