Package burp.api.montoya.http.message
Interface MarkedHttpRequestResponse
-
- All Superinterfaces:
HttpRequestResponse
public interface MarkedHttpRequestResponse extends HttpRequestResponse
This interface is used to extendHttpRequestResponseinterface to hold message markers data.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MarkedHttpRequestResponsemarkedRequestResponse(HttpRequest httpRequest, HttpResponse httpResponse)This is a helper method to create a new instance ofMarkedHttpRequestResponse.static MarkedHttpRequestResponsemarkedRequestResponse(HttpRequest httpRequest, HttpResponse httpResponse, Annotations annotations)This is a helper method to create a new instance ofMarkedHttpRequestResponse.java.util.List<Range>requestMarkers()java.util.List<Range>responseMarkers()MarkedHttpRequestResponsewithMessageAnnotations(Annotations annotations)This is a helper method used to add annotations to theMarkedHttpRequestResponseinstance.-
Methods inherited from interface burp.api.montoya.http.message.HttpRequestResponse
httpRequest, httpResponse, messageAnnotations, withMarkers, withNoMarkers, withRequestMarkers, withRequestMarkers, withResponseMarkers, withResponseMarkers
-
-
-
-
Method Detail
-
markedRequestResponse
static MarkedHttpRequestResponse markedRequestResponse(HttpRequest httpRequest, HttpResponse httpResponse)
This is a helper method to create a new instance ofMarkedHttpRequestResponse.- Parameters:
httpRequest- The HTTP request.httpResponse- The HTTP response.- Returns:
- A new
MarkedHttpRequestResponseinstance.
-
markedRequestResponse
static MarkedHttpRequestResponse markedRequestResponse(HttpRequest httpRequest, HttpResponse httpResponse, Annotations annotations)
This is a helper method to create a new instance ofMarkedHttpRequestResponse.- Parameters:
httpRequest- The HTTP request.httpResponse- The HTTP response.annotations- annotations.- Returns:
- A new
MarkedHttpRequestResponseinstance.
-
requestMarkers
java.util.List<Range> requestMarkers()
- Returns:
- List of request markers
-
responseMarkers
java.util.List<Range> responseMarkers()
- Returns:
- List of response markers
-
withMessageAnnotations
MarkedHttpRequestResponse withMessageAnnotations(Annotations annotations)
This is a helper method used to add annotations to theMarkedHttpRequestResponseinstance.- Specified by:
withMessageAnnotationsin interfaceHttpRequestResponse- Parameters:
annotations- annotations to add.- Returns:
- A new
MarkedHttpRequestResponseinstance.
-
-