Package burp.api.montoya.proxy
Interface ProxyHttpRequestHandler
-
public interface ProxyHttpRequestHandlerExtensions can implement this interface and then callProxy.registerRequestHandler(ProxyHttpRequestHandler)to register a Proxy request handler. The handler will be notified of requests being processed by the Proxy tool. Extensions can perform custom analysis or modification of these messages, and control in-UI message interception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestInitialInterceptResulthandleReceivedRequest(InterceptedHttpRequest interceptedRequest, Annotations annotations)This method is invoked when an HTTP request is received in the Proxy.RequestFinalInterceptResulthandleRequestToIssue(InterceptedHttpRequest interceptedRequest, Annotations annotations)This method is invoked when an HTTP request has been processed by the Proxy before it is issued.
-
-
-
Method Detail
-
handleReceivedRequest
RequestInitialInterceptResult handleReceivedRequest(InterceptedHttpRequest interceptedRequest, Annotations annotations)
This method is invoked when an HTTP request is received in the Proxy.- Parameters:
interceptedRequest- AnInterceptedHttpRequestobject that extensions can use to query and update details of the request, and control whether the request should be intercepted and displayed to the user for manual review or modification.annotations- TheAnnotationsfor the intercepted request.- Returns:
- The
RequestInitialInterceptResultcontaining the required action, HTTP request and annotations to be passed through.
-
handleRequestToIssue
RequestFinalInterceptResult handleRequestToIssue(InterceptedHttpRequest interceptedRequest, Annotations annotations)
This method is invoked when an HTTP request has been processed by the Proxy before it is issued.- Parameters:
interceptedRequest- AnInterceptedHttpRequestobject that extensions can use to query and update details of the request.annotations- TheAnnotationsfor the intercepted request.- Returns:
- The
RequestFinalInterceptResultcontaining the required action, HTTP request and annotations to be passed through.
-
-