Package org.zaproxy.clientapi.gen
Class Break
java.lang.Object
org.zaproxy.clientapi.gen.deprecated.BreakDeprecated
org.zaproxy.clientapi.gen.Break
This file was automatically generated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a custom HTTP breakpoint.Controls the global break functionality.cont()Submits the currently intercepted message and unsets the global request/response breakpointsdrop()Drops the currently intercepted messageReturns the HTTP message currently intercepted (if any)Returns True if ZAP will break on both requests and responsesReturns True if ZAP will break on requestsReturns True if ZAP will break on responsesremoveHttpBreakpoint(String string, String location, String match, String inverse, String ignorecase) Removes the specified breakpointsetHttpMessage(String httpheader, String httpbody) Overwrites the currently intercepted message with the data providedstep()Submits the currently intercepted message, the next request or response will automatically be interceptedMethods inherited from class org.zaproxy.clientapi.gen.deprecated.BreakDeprecated
addHttpBreakpoint, brk, removeHttpBreakpoint
-
Constructor Details
-
Break
-
-
Method Details
-
isBreakAll
Returns True if ZAP will break on both requests and responses- Throws:
ClientApiException
-
isBreakRequest
Returns True if ZAP will break on requests- Throws:
ClientApiException
-
isBreakResponse
Returns True if ZAP will break on responses- Throws:
ClientApiException
-
httpMessage
Returns the HTTP message currently intercepted (if any)- Throws:
ClientApiException
-
brk
Controls the global break functionality. The type may be one of: http-all, http-request or http-response. The state may be true (for turning break on for the specified type) or false (for turning break off). Scope is not currently used.- Throws:
ClientApiException
-
setHttpMessage
Overwrites the currently intercepted message with the data provided- Throws:
ClientApiException
-
cont
Submits the currently intercepted message and unsets the global request/response breakpoints- Throws:
ClientApiException
-
step
Submits the currently intercepted message, the next request or response will automatically be intercepted- Throws:
ClientApiException
-
drop
Drops the currently intercepted message- Throws:
ClientApiException
-
addHttpBreakpoint
public ApiResponse addHttpBreakpoint(String string, String location, String match, String inverse, String ignorecase) throws ClientApiException Adds a custom HTTP breakpoint. The string is the string to match. Location may be one of: url, request_header, request_body, response_header or response_body. Match may be: contains or regex. Inverse (match) may be true or false. Lastly, ignorecase (when matching the string) may be true or false.- Throws:
ClientApiException
-
removeHttpBreakpoint
public ApiResponse removeHttpBreakpoint(String string, String location, String match, String inverse, String ignorecase) throws ClientApiException Removes the specified breakpoint- Throws:
ClientApiException
-