Interface Annotations
public interface Annotations
Annotations stored with requests and responses in Burp Suite.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationsCreate a new empty annotations.static Annotationsannotations(HighlightColor highlightColor) Create a new annotations with a highlight color.static Annotationsannotations(String notes) Create a new annotations with notes.static Annotationsannotations(String notes, HighlightColor highlightColor) Create a new annotations with notes and a highlight color.booleanbooleanhasNotes()notes()voidsetHighlightColor(HighlightColor highlightColor) Set (mutate) the current annotations highlight color valuevoidSet (mutate) the current annotations notes valuewithHighlightColor(HighlightColor highlightColor) Create a copy of the annotations with a new highlight color.Create a copy of the annotations with new notes.
-
Method Details
-
notes
String notes()- Returns:
- the notes
-
hasNotes
boolean hasNotes()- Returns:
- True if there are any notes for this HTTP request and response.
-
hasHighlightColor
boolean hasHighlightColor()- Returns:
- True if there is a highlight color for this HTTP request and response.
-
setNotes
Set (mutate) the current annotations notes value- Parameters:
notes- the notes to set on the current annotations
-
highlightColor
HighlightColor highlightColor()- Returns:
- the highlight color;
-
setHighlightColor
Set (mutate) the current annotations highlight color value- Parameters:
highlightColor- the highlight color to set on the current annotations
-
withNotes
Create a copy of the annotations with new notes.- Parameters:
notes- The new notes.- Returns:
- The new annotations.
-
withHighlightColor
Create a copy of the annotations with a new highlight color.- Parameters:
highlightColor- The new highlight color.- Returns:
- The new annotations.
-
annotations
-
annotations
Create a new annotations with notes.- Parameters:
notes- The notes of the annotations- Returns:
- The annotations.
-
annotations
Create a new annotations with a highlight color.- Parameters:
highlightColor- The highlight color of the annotations- Returns:
- The annotations.
-
annotations
Create a new annotations with notes and a highlight color.- Parameters:
notes- The notes of the annotationshighlightColor- The highlight color of the annotations- Returns:
- The annotations.
-