Package burp.api.montoya.http.handler
Interface RequestToBeSentAction
public interface RequestToBeSentAction
An instance of this interface should be returned by
HttpHandler.handleHttpRequestToBeSent(burp.api.montoya.http.handler.HttpRequestToBeSent)
if a custom HttpHandler
has been registered with Burp.-
Method Summary
Modifier and TypeMethodDescriptiondefault RequestAction
action()
static RequestToBeSentAction
continueWith
(HttpRequest request) Create a new instance ofRequestResult
.static RequestToBeSentAction
continueWith
(HttpRequest request, Annotations annotations) Create a new instance ofRequestResult
.request()
-
Method Details
-
action
- Returns:
- the action.
-
request
HttpRequest request()- Returns:
- The HTTP request.
-
annotations
Annotations annotations()- Returns:
- The annotations.
-
continueWith
Create a new instance ofRequestResult
. Annotations will not be modified.- Parameters:
request
- An HTTP request.- Returns:
- A new
RequestHandlerResult
instance.
-
continueWith
Create a new instance ofRequestResult
.- Parameters:
request
- An HTTP request.annotations
- modified annotations.- Returns:
- A new
RequestHandlerResult
instance.
-