Package burp.api.montoya.http
Interface RequestOptions
public interface RequestOptions
Interface used to specify options for making HTTP requests.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestOptionsUse to obtain a new RequestOptions instancewithConnectionId(String connectionId) Specify connectionId when sending request over specific connection.withHttpMode(HttpMode httpMode) Specify HTTP mode to be used when request sent.Enforce upstream TLS verification when request sent.
-
Method Details
-
withHttpMode
Specify HTTP mode to be used when request sent.- Parameters:
httpMode- AnHttpModeenum value which indicates how a request should be sent.- Returns:
- request options
-
withConnectionId
Specify connectionId when sending request over specific connection.- Parameters:
connectionId- The connection identifier to use.- Returns:
- request options
-
withUpstreamTLSVerification
RequestOptions withUpstreamTLSVerification()Enforce upstream TLS verification when request sent.- Returns:
- request options
-
requestOptions
Use to obtain a new RequestOptions instance- Returns:
- request options
-